Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorArmin K <krejzi@email.com>2017-03-06 21:15:20 +0100
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-08 23:27:44 -0400
commit908769b54002e104b90ab2b3e5ca8066affd4394 (patch)
tree17e6a3131ba3582cf3bf0a450c77b70f9d1b1a8a /lib/libalpm/package.c
parent33dbe13a6b9da842de0fb6a1055651866bcf6440 (diff)
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> (cherry picked from commit 86f5c74694cb0403eaf11fa4734f307a0df345cb)
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions