diff options
author | Armin K <krejzi@email.com> | 2017-03-06 21:15:20 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-04-12 03:44:56 +0200 |
commit | 86f5c74694cb0403eaf11fa4734f307a0df345cb (patch) | |
tree | 5c92c7fdaa0631432b2e71e7401097ba34936a52 /lib/libalpm/po | |
parent | 1af766987f66c63b029578374d679a353960d46d (diff) | |
download | pacman-86f5c74694cb0403eaf11fa4734f307a0df345cb.tar.gz pacman-86f5c74694cb0403eaf11fa4734f307a0df345cb.tar.xz |
libalpm: Use archive_read_extract2
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@email.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po')
0 files changed, 0 insertions, 0 deletions