Alexey Boriskin added the comment:
I'm working on updating the patch to unify tarfile and zipfile interfaces and
to restore owner/timestamp for zipfile
--
___
Python tracker
<http://bugs.python.org/is
Alexey Boriskin added the comment:
I'm attaching a patch, which solves the issue. Patch intoduces new argument
"preserve_permissions" for extract and extractall methods. That argument may
accept one of the three values: do not preserve permissions, preserve a safe
subset of t
Changes by Alexey Boriskin :
--
hgrepos: +147
___
Python tracker
<http://bugs.python.org/issue15795>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alexey Boriskin:
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