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 uruz
Recipients uruz
Date 2012-08-27.22:36:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346106964.12.0.723201722432.issue15795@psf.upfronthosting.co.za>
In-reply-to
Content
Zipfile._extract_member does not preserve file permissions while extracting it. As may be seen at link[1], raw open() is used and no os.chmod() applied after that, therefore any permission data stored in zipfile is dropped and file is created with default permission depending on current user's umask.

[1] http://hg.python.org/cpython/file/52159aa5d401/Lib/zipfile.py#l1251
History
Date User Action Args
2012-08-27 22:36:04uruzsetrecipients: + uruz
2012-08-27 22:36:04uruzsetmessageid: <1346106964.12.0.723201722432.issue15795@psf.upfronthosting.co.za>
2012-08-27 22:36:03uruzlinkissue15795 messages
2012-08-27 22:36:03uruzcreate