From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1R6emh-00054R-Kc for ptxdist@pengutronix.de; Thu, 22 Sep 2011 10:37:31 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1R6emh-0000LK-Jh for ptxdist@pengutronix.de; Thu, 22 Sep 2011 10:37:31 +0200 Date: Thu, 22 Sep 2011 10:37:31 +0200 From: Michael Olbrich Message-ID: <20110922083731.GY27632@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] large UID/GID when running ipkg-revision Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Sep 20, 2011 at 09:39:13AM -0400, Jon Ringle wrote: > In commit 4d7ff1b8e46a242ead09e044262e7daec642e3b7 the files contained > in an ipk file are chown 0:0 to avoid a problem when UID/GID is > > 99999. > I am seeing the same problem with the ipk files created in > ipkg-revision, however, chown 0:0 doesn't work there because it > appears to not be run under fakeroot. > > I could use ar's -D option, but that was rejected in the above commit > due to old ar versions not supporting -D. Why not just call ipkg-revision with fakeroot? Then you should get uid/gid 0 when unpacking, right? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de