Message353305
An archive that does not have sgid that is extracted in a directory with sgid set does not end up having its sgid set since the targetpath is chmod with the mode of the tarinfo. (Lib/tarfile.py#L2277)
For comparison, an archive extracted with tar has the sgid bit set.
I added a patch as attachment to gather comments before making this PR. |
|
Date |
User |
Action |
Args |
2019-09-26 14:12:19 | Charles Coulombe | set | recipients:
+ Charles Coulombe |
2019-09-26 14:12:19 | Charles Coulombe | set | messageid: <1569507139.8.0.49605570029.issue38286@roundup.psfhosted.org> |
2019-09-26 14:12:19 | Charles Coulombe | link | issue38286 messages |
2019-09-26 14:12:19 | Charles Coulombe | create | |
|