summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/handle.h
diff options
context:
space:
mode:
authorArmin K <krejzi@email.com>2017-03-06 21:15:20 +0100
committerAllan McRae <allan@archlinux.org>2017-04-12 03:44:56 +0200
commit86f5c74694cb0403eaf11fa4734f307a0df345cb (patch)
tree5c92c7fdaa0631432b2e71e7401097ba34936a52 /lib/libalpm/handle.h
parent1af766987f66c63b029578374d679a353960d46d (diff)
downloadpacman-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/handle.h')
0 files changed, 0 insertions, 0 deletions