3

Possible Duplicate:
Shared folders for all users

There have been several questions regarding the creation of a shared directory accessible to all users of a group (notably this one); however I have yet to find a satisfactory answer to this specific problem.

I have a directory (/home/shared) which is owned by root:lab and has 2775 permissions (rwxrwsr-x). The intent of this directory is that all users in group lab can work together on files in the directory. This currently works fine so long as files and directories are created within the /home/shared directory, but requires manual editing of permissions whenever files are copied over from another location, which is inconvenient.

I get the feeling that this isn't something that can be resolved using only the standard permission system of Linux, so I'm open to solutions which would make use of additional programs. My temporary solution for now is just to have a script in crontab which updates the permissions every couple minutes, but this is a total hack and I'm sure there must be a more elegant solution to this.

0 Answers0