Problem with default ACLs and mask

Robert Watson rwatson at FreeBSD.org
Fri Oct 14 12:31:08 PDT 2005


On Fri, 14 Oct 2005, Victor Sudakov wrote:

> Heinrich Rebehn wrote:
>>
>> As you can see, it works for the dirs created by hand, but not for the 
>> dir created by tar.
>
> I think tar does a chmod on extracted files because it stores and 
> extracts permission information. I really see no way of working around 
> this.
>
> However, I think those people who designed POSIX ACLs might have had a 
> solution for this problem, it is too common.

Our tar speaks ACLs, but I'm not sure what model it uses to decide what to 
do with the default ACL of the directory where the tar is extracted.  It 
could well be that tar specifically restores ACLs, overriding the default 
ACL where the files are untar'd.

Robert N M Watson


More information about the freebsd-fs mailing list