gh-59999:` zipfile:` restore Unix permissions after extraction by Aniketsy · Pull Request #150061 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Open
Conversation
Contributor
fixes #149839
- When extracting a
zip file, stored Unix permissions were ignored and files always got default permissions instead. - Fixed by applying the stored permissions with
os.chmodafter extraction.
bedevere-app
Bot
mentioned this pull request
bedevere-app
Bot
added
the
awaiting review
label
serhiy-storchaka
changed the title
gh-149839:
gh-59999: zipfile: restore Unix permissions after extraction zipfile: restore Unix permissions after extraction
bedevere-app
Bot
mentioned this pull request
Aniketsy
commented
Jun 3, 2026
Aniketsy commented
Contributor Author
As this pr is linked to quite old issue, i'm really excited and looking forward to fix. waiting for members to review and give suggestion for this if we need improvements. Thanks!
Aniketsy
commented
Jun 15, 2026
Aniketsy commented
Contributor Author
@vstinner gentle ping, please have a look in this when you get chance . Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment