summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLars Gustäbel <lars@gustaebel.de>2011-09-05 14:58:14 (GMT)
committerLars Gustäbel <lars@gustaebel.de>2011-09-05 14:58:14 (GMT)
commit2e7ddd374b48649b34db6f86313379080de24280 (patch)
treed2776b6b18344bc443e94624510854f1f3e9d394 /Misc
parentd9e0b068af175a2fc1c2fe979ab97b5d4f8239b7 (diff)
downloadcpython-2e7ddd374b48649b34db6f86313379080de24280.zip
cpython-2e7ddd374b48649b34db6f86313379080de24280.tar.gz
cpython-2e7ddd374b48649b34db6f86313379080de24280.tar.bz2
Issue #12841: Fix tarfile extraction of non-existent uids/gids.
tarfile unnecessarily checked the existence of numerical user and group ids on extraction. If one of them did not exist the respective id of the current user (i.e. root) was used for the file and ownership information was lost. (Patch by Sebastien Luttringer)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ff1a0ad..bd8c497 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -73,6 +73,11 @@ Core and Builtins
Library
-------
+- Issue #12841: tarfile unnecessarily checked the existence of numerical user
+ and group ids on extraction. If one of them did not exist the respective id
+ of the current user (i.e. root) was used for the file and ownership
+ information was lost.
+
- Issue #10946: The distutils commands bdist_dumb, bdist_wininst and bdist_msi
now respect a --skip-build option given to bdist.