Possible Duplicate:
Make all new files in a directory accessible to a group
I have a directory in which collaborative files / directories are stored. Say directory abc
is owned by root
and the group is project-abc
. I'd like for this directory to have the following:
- Only members of group
project-abc
are allowed to change the contents of this directory. - Files added to
abc
must have read and write permissions set for members or groupabc
- Directories added must have read, write and execute permissions for group
abc
This is straightforward for static directories, but the contents of this directory are expected to change quite often. What's my best approach to producing the desired result?