Subject: Re: bug#8749: mkdir: feature request --reference

From: Andreas Schwab <[email-masked]>
Date: Wed, 01 Jun 2011 00:21:08 +0200

Shaun Jackman <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."