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 srid
Recipients srid
Date 2009-06-04.21:52:01
SpamBayes Score 0.036111124
Marked as misclassified No
Message-id <1244152323.12.0.69186905173.issue6196@psf.upfronthosting.co.za>
In-reply-to
Content
Considering this bug where tarfile fails to set g+s,

  https://bugs.launchpad.net/pyopenssl/+bug/236190

a more general approach could be:

  tarfile.extractall(safe_perms=True)

where if safe_perms is set, tarfile can 1) ignore +/-s on all files, 2)
ignore u-x on directories and 3) ignore u-r on files.
History
Date User Action Args
2009-06-04 21:52:03sridsetrecipients: + srid
2009-06-04 21:52:03sridsetmessageid: <1244152323.12.0.69186905173.issue6196@psf.upfronthosting.co.za>
2009-06-04 21:52:02sridlinkissue6196 messages
2009-06-04 21:52:01sridcreate