Am Donnerstag, 3. Juli 2008 schrieb Florian Philipp:

> Then there might be a common folder for all users in a specific group
> as a simple way of sharing files. These shall be accessible by every
> user in the group but by none else, so for the user phil_fl and the
> group users: chown phil_fl:users; umask 0007.

Forget umask, you have to adjust the permissions of that _directory_ 
accordingly:

chmod 770 groupdir

and, as others already wrote, eventually set the SGID bit so that all files 
within are owned by the group you want.

You can later add permissions for other users or groups by using ACLs, see man 
pages of setfacl and getfacl.

HTH...

        Dirk

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to