This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sam_ezeh
Recipients sam_ezeh
Date 2022-04-02.12:21:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Initially, I was looking at bpo-18262 and saw the following Stack Overflow thread that was linked.

I've attached a patch that gives ZipInfo objects a `ZipInfo.mode` property getter and setter to get and set the file mode.

I considered adding ZipFile.chmod but I didn't know how it would work given that archives can contain duplicate files.

As an aside, I wondered if there's a way to update file attributes inside zip archives without deleting and rewriting them and if not, whether it would be worthwhile to add one.
Date User Action Args
2022-04-02 12:21:15sam_ezehsetrecipients: + sam_ezeh
2022-04-02 12:21:15sam_ezehsetmessageid: <>
2022-04-02 12:21:15sam_ezehlinkissue47200 messages
2022-04-02 12:21:15sam_ezehcreate