Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 20:31:05 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Victor Sudakov <sudakov@sibptus.tomsk.ru>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Problem with default ACLs and mask
Message-ID:  <20051014203021.L66014@fledge.watson.org>
In-Reply-To: <20051014134820.GA43849@admin.sibptus.tomsk.ru>
References:  <434F4FF8.9050903@ant.uni-bremen.de> <20051014064145.GA40856@admin.sibptus.tomsk.ru> <434F9DAE.6070607@ant.uni-bremen.de> <20051014134820.GA43849@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051014203021.L66014>