From owner-freebsd-fs@FreeBSD.ORG Fri Oct 14 19:31:08 2005 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E3CB16A448 for ; Fri, 14 Oct 2005 19:31:08 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF6043D60 for ; Fri, 14 Oct 2005 19:31:06 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id F126046BDC; Fri, 14 Oct 2005 15:31:05 -0400 (EDT) Date: Fri, 14 Oct 2005 20:31:05 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Victor Sudakov In-Reply-To: <20051014134820.GA43849@admin.sibptus.tomsk.ru> Message-ID: <20051014203021.L66014@fledge.watson.org> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org Subject: Re: Problem with default ACLs and mask X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 19:31:08 -0000 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