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 Catherine.Devlin
Recipients Catherine.Devlin, Yaroslav.Halchenko
Date 2017-05-25.06:54:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495695269.71.0.589569778432.issue30438@psf.upfronthosting.co.za>
In-reply-to
Content
My last commit to the PR includes a fix by delaying setting permission to all files, not just to directories, in .extractall().

It might be better to catch the problem during .add instead, preventing tarring multiple copies, but I found subtle difficulties with that approach.  (Do we have a foolproof way to establish that a second addition is a duplicate?  What if the filename and path is the same, but the file has been changed since last time it was added to the tar?)
 
This solution uses code that's already present.
History
Date User Action Args
2017-05-25 06:54:29Catherine.Devlinsetrecipients: + Catherine.Devlin, Yaroslav.Halchenko
2017-05-25 06:54:29Catherine.Devlinsetmessageid: <1495695269.71.0.589569778432.issue30438@psf.upfronthosting.co.za>
2017-05-25 06:54:29Catherine.Devlinlinkissue30438 messages
2017-05-25 06:54:29Catherine.Devlincreate