I have Debian Squeeze server with set of users. All users must be able to work with shared files.
So what I did is to set to all of these users same main group (e.g. editors
)
Then put files into /home/editors/
, set permissions with that folder to rwxrws---, so that group members can do anything within that folder (execute permission is also necessary).
Also I set umask to maintain these default permissions using pam module. But still whenever I create any file or directory it only gets rwxr-s--- permissions.
Am I missing something?