* [ptxdist] large UID/GID when running ipkg-revision
@ 2011-09-20 13:39 Jon Ringle
2011-09-22 8:37 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Jon Ringle @ 2011-09-20 13:39 UTC (permalink / raw)
To: ptxdist
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.
Jon
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] large UID/GID when running ipkg-revision
2011-09-20 13:39 [ptxdist] large UID/GID when running ipkg-revision Jon Ringle
@ 2011-09-22 8:37 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2011-09-22 8:37 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-22 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 13:39 [ptxdist] large UID/GID when running ipkg-revision Jon Ringle
2011-09-22 8:37 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox