[pacman-dev] [PATCH] libalpm: Use archive_read_extract2

Andrew Gregory andrew.gregory.8 at gmail.com
Sun Apr 9 23:55:18 UTC 2017


On 04/04/17 at 12:00pm, Allan McRae wrote:
> On 07/03/17 06:15, Armin K wrote:
> > archive_read_extract() forces resolution of uid/gid to names
> > when extracting the tarball. This can lead to wrong file
> > ownership when using pacman with -r option and when uid/gid
> > differ in the host and in the chroot.
> > 
> > archive_read_extract2() uses uid's and gid's only. See also:
> > 
> > https://lists.archlinux.org/pipermail/pacman-dev/2017-March/021912.html
> > 
> > Signed-off-by: Armin K <krejzi at email.com>
> > ---
> 
> @Andrew:  Is this patch OK to go in until you finish your work on
> group/user handling?

ACK.  This would need to be done for the group/user handling work
anyway.

apg


More information about the pacman-dev mailing list