[issue3394] zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix

Stephen Warren report at bugs.python.org
Fri Jul 18 05:57:37 CEST 2008


Stephen Warren <s-t-pybugs at wwwdotorg.org> added the comment:

I'd probably argue for at least 0660<<16, if not 0666<<16, since group
permissions are pretty typically set, but even 0666<<16 would be OK,
since the umask on extraction would take away any permissions the
extracting user didn't want.

But, as long as the chosen mask includes at least 0600, I'd consider the
issue fixed.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3394>
_______________________________________


More information about the Python-bugs-list mailing list