bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] adding ACLs when there are none


From: Linda Walsh
Subject: Re: [Bug-tar] adding ACLs when there are none
Date: Wed, 05 Mar 2014 06:30:35 -0800
User-agent: Thunderbird



Joerg Schilling wrote:
er take --acls similarly to -p in this regard.

This does nit seem to be correct.

The BSD sgroup bit on directories only propagates to directories and not to files. The default acls propagate to files also.

Note that the bevior in star has been defined in 2001 after talking to various people. gtar should behave similar.
----
There some wiggle room here, I agree,
The patch as I understood it, removed the default acl on the directories.

The files only have the option of inheriting a default acl from the directory.

If the files from the tar put in the directory don't have acls attached from the dir, because of --acls, I wouldn't be upset with that. (without --acls, I'd expect them to inherit them).
But without default acl's present in the tar (for the directories --
as separate from the standard acl), I'd expect them to be left alone. BTW, to be clear, when I say "expect", I mean "least surprise", not as a mandate about what should be done. Thus I could see --acls clearing everything except the default acls on the directory -- meaning new files and dirs would inherit
as normal as before the tar.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]