Shaun Jackman <sjack...@bcgsc.ca> writes:

> My use case is working in a directory shared amongst a group of users.
> My umask is 022. I run
> mkdir -pm775 project/subproject
> and I'd like both project and project/subproject to be group-writable.

If the filesystem supports ACLs then you can add a default ACL to the
project directory with `setfacl -m d:g::rwx'.  This will arrange to
grant group write access by default to all newly created
files/directories in that directory.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



Reply via email to