Message142969
This patch fix extraction of tarfile which override tarfile uid/gid
tarfile.py extract function override uid/gid of a file if uid/gid is not
existant on the system.
When user is not root (uid 0), common behaviour of extracting is correct.
When user is root, python implementation try to preserve (like tar -p) ownership
from tarball, but if uid/gid doesn't exist it remplace by process uid/gid.
This leads to fake the expected behaviour of preservation!
By example, extracting tarball with a root filesystem will create incorrect
ownership for file where owner/group is not on the current filesystem. |
|
Date |
User |
Action |
Args |
2011-08-25 14:17:14 | seblu | set | recipients:
+ seblu |
2011-08-25 14:17:14 | seblu | set | messageid: <1314281834.23.0.939615944176.issue12841@psf.upfronthosting.co.za> |
2011-08-25 14:17:13 | seblu | link | issue12841 messages |
2011-08-25 14:17:13 | seblu | create | |
|