[CentOS] directory permissions

nate centos at linuxpowered.net
Tue Jan 12 21:49:41 UTC 2010

Carlos Santana wrote:

> How can I give  ownership permissions on a particular directory so
> that any files created in that directory will always have specifc
> username:groupname permissions?

make the directory setgid chmod g+s

> Also is there any option that would allow only owner to delete files,
> even though group has rwx permissions?

Perhaps via ACLs..


More information about the CentOS mailing list