On 08/06/2012 02:31 PM, Michael Orlitzky wrote:
>
> I have a directory (drupal modules directory) where developers regularly
> untar (or cp) archives. The contents should be rwx for the 'developers'
> group, so that some other developer can update or remove the module later.
>
> I've set default ACLs on the parent directory, and the regular default
> ACLs are applied but the default mask is not. This is because tar/cp
> preserve the original group permission bits -- a strategy that doesn't
> make sense under a directory with default ACLs.
>
I wrote a function reapply_default_acl() which will apply foo's default
ACL to foo/bar when called like reapply_default_acl("foo/bar").
It still retains the original execute bits, though, unless the default
ACL states that we shouldn't.
http://michael.orlitzky.com/git/?p=aclq.git
I've patched a modification of this into coreutils to get at least cp
and mkdir working. Does this sound at all sane?