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 christian.heimes
Recipients christian.heimes, eighthave, jondo, obfusk
Date 2021-03-22.20:58:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616446738.23.0.333275442828.issue43547@roundup.psfhosted.org>
In-reply-to
Content
zinfo = zipfile.ZipInfo()
zinfo.date_time = (1980, 0, 0, 0, 0, 0)
zinfo.create_system = 0

external_attr == 0 may cause issues with permissions. I do something like this in my reproducible tarfile code:

if zinfo.isdir():
    # 0755 + MS-DOS directory flag
    zinfo.external_attr = 0o755 | 0x010
else:
    zinfo.external_attr = 0o644
History
Date User Action Args
2021-03-22 20:58:58christian.heimessetrecipients: + christian.heimes, jondo, obfusk, eighthave
2021-03-22 20:58:58christian.heimessetmessageid: <1616446738.23.0.333275442828.issue43547@roundup.psfhosted.org>
2021-03-22 20:58:58christian.heimeslinkissue43547 messages
2021-03-22 20:58:57christian.heimescreate