Message233663
Please consider adding a option to extract a tarfile with the uid/gid instead of the lookup for uname/gname in the tarheader (i.e. what tar --numeric-owner provides).
One use-case is if you unpack a chroot tarfile that contains a /etc/{passwd,group} file with different uid/gid for user/groups like zope that may be present in both host and chroot but have different numbers. With the current approach files owned by this user will get the host uid/gid instead of the uid/gid of the chroot.
Attached is a patch to outline what I have in mind - if there is a chance that this patch goes in I'm happy to write the required test (mocking os.chown()) for this to go in.
Thanks for your consideration,
Michael |
|
Date |
User |
Action |
Args |
2015-01-08 14:42:24 | mvo | set | recipients:
+ mvo |
2015-01-08 14:42:24 | mvo | set | messageid: <1420728144.57.0.872420723687.issue23193@psf.upfronthosting.co.za> |
2015-01-08 14:42:24 | mvo | link | issue23193 messages |
2015-01-08 14:42:24 | mvo | create | |
|