From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 9 10:49:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D3EF16A4CE for ; Mon, 9 Feb 2004 10:49:31 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C13F143D1F for ; Mon, 9 Feb 2004 10:49:30 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i19InJkX008270; Mon, 9 Feb 2004 10:49:19 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <4027D62F.3010702@acm.org> Date: Mon, 09 Feb 2004 10:49:19 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harti Brandt References: <4025A0DD.2010607@acm.org> <20040208134125.L28775@beagle.fokus.fraunhofer.de> <40269DF5.2090806@acm.org> <20040209122341.S32427@beagle.fokus.fraunhofer.de> In-Reply-To: <20040209122341.S32427@beagle.fokus.fraunhofer.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Odd ACL question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 18:49:31 -0000 Harti Brandt wrote: > On Sun, 8 Feb 2004, Tim Kientzle wrote: > > TK>In this case, I'm considering: > TK> * If the username exists, use that. > TK> * If the username does not exist and the UID is not already in > TK> use, issue a warning and use the UID. > TK> * If the username exists and the UID conflicts with the local > TK> system, ??? > TK> > TK>This last case is the tough one. My temptation: map it to > TK>an unused UID, issue a warning about the remap, and keep going. > > That may cause the problem I described. This may leave a file in a user > directory that the user cannot delete without intervention of the root > user, but its probably the simplest solution. This would only happen if you are restoring an archive onto a different system. If it's the same system, there should be no UID conflicts and thus no need to remap the UIDs. I would be very interested in hearing any alternative suggestions. > What about non-existing groups? I think I would handle this the same way (for consistency). > Are you going to replace that horrible thing called GNU tar in the bases > system? Probably, yes. Tim Kientzle