[pacman-dev] Non-existing user/group ownership and chroot

Andrew Gregory andrew.gregory.8 at gmail.com
Mon Mar 6 17:25:43 UTC 2017

On 03/06/17 at 06:06pm, Armin K. wrote:
> On 06.03.2017 17:48, Andrew Gregory wrote:
> > On 03/06/17 at 05:40pm, Armin K. wrote:


> > > I've contacted libarchive devs and they suggested --numeric-owner bsdtar
> > > option. It works just as I expect it to.
> > 
> > pacman already only uses the numeric id's during extraction.
> > 
> It might be libarchive bug/feature. I've found archive_write_disk_set_standard_lookup()
> which will force resolving uid/gid's if used. The trick is, version 3.3.0 I compiled
> packman against, calls such function almost uncoditionally in archive_read_extract().
> https://github.com/libarchive/libarchive/blob/master/libarchive/archive_read_extract.c#L49

Aha, how nice of them.  Things like this are why I don't recommend
using --root to manage chroot's.  I suppose I need to get around to
finishing alpm's user handling.


More information about the pacman-dev mailing list