A long time ago an old friend showed me a way to use an octal or hex umask with a group I think using /etc/profile
. I'm not sure.
I'm trying to create group on Debian so that every member of that group when creating a file will produce a file with default permissions 665
. And when creating a directory it will have default permissions 775
. What are some ways to do this for a group setting?
Thanks
002
for all members of a certain group? I might go dig around in PAM, e.g. adding apam_umask
invocation tocommon-session
or something similar. – jw013 Jan 13 '12 at 20:44acl
. See eg http://unix.stackexchange.com/questions/12842/permission-of-saved-files – Faheem Mitha Jan 14 '12 at 15:04