diff options
author | Lars Gustäbel <lars@gustaebel.de> | 2010-10-04 15:18:47 (GMT) |
---|---|---|
committer | Lars Gustäbel <lars@gustaebel.de> | 2010-10-04 15:18:47 (GMT) |
commit | 331b8002f029568dc4bca18bd320200bcb59ca47 (patch) | |
tree | 66d7a60ec7c0c7ed28d5567dd92236a80f6291d1 /Misc | |
parent | f580adee279d0c7952b5d85cf5ca6497260d2635 (diff) | |
download | cpython-331b8002f029568dc4bca18bd320200bcb59ca47.zip cpython-331b8002f029568dc4bca18bd320200bcb59ca47.tar.gz cpython-331b8002f029568dc4bca18bd320200bcb59ca47.tar.bz2 |
Issue #9065: no longer use "root" as the default for the
uname and gname field.
If tarfile creates a new archive and adds a file with a
uid/gid that doesn't have a corresponding name on the
system (e.g. because the user/group account was deleted) it
uses the empty string in the uname/gname field now instead
of "root". Using "root" as the default was a bad idea
because on extraction the uname/gname fields are supposed
to override the uid/gid fields. So, all archive members
with nameless uids/gids belonged to the root user after
extraction.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -88,6 +88,9 @@ Core and Builtins Library ------- +- Issue #9065: tarfile no longer uses "root" as the default for the uname and + gname field. + - Issue #8980: Fixed a failure in distutils.command check that was shadowed by an environment that does not have docutils. Patch by Arfrever. |