Possible Duplicate:
How to set default file permissions for all folders/files in a directory?
Say I have default umask, umask1
. I would like all files/folders that I create/modify under a specific path
/path/to/foo
to have a different umask, umask2
, and keep using umask1
for everything else. Is there a way to have the shell do this automatically for me? If so, how?
Is there a way to do this for everyone else who belongs to the groupID of /path/to/foo
?
setfacl -d -m g::rwx /path/to/foo
I getOperation not supported
(?) – Amelio Vazquez-Reina Nov 30 '12 at 16:51