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 lars.gustaebel
Recipients alanmcintyre, lars.gustaebel, loewis, mebrown
Date 2008-02-05.10:56:43
SpamBayes Score 0.0052720685
Marked as misclassified No
Message-id <1202209006.36.0.331482531281.issue2004@psf.upfronthosting.co.za>
In-reply-to
Content
os.mkdir() and os.makedirs() always apply the current umask to the mode.
We cannot be responsible for poorly chosen umasks. In general, tarfile
and zipfile create directories with reasonable modes. So, IMO the
zipfile-dirperm.diff is not needed and Michael's problem depends on the
current umask.

The only exception is in TarFile._extract_member() in Python <= 2.5.x
that creates missing directories that are not part of the archive(!) and
uses os.chmod() to force a 0777 mode. That problem was addressed in
issue1507247 but only for Python 2.6 and should be backported. Although
this would change behaviour it would not cause failures.
History
Date User Action Args
2008-02-05 10:56:46lars.gustaebelsetspambayes_score: 0.00527207 -> 0.0052720685
recipients: + lars.gustaebel, loewis, alanmcintyre, mebrown
2008-02-05 10:56:46lars.gustaebelsetspambayes_score: 0.00527207 -> 0.00527207
messageid: <1202209006.36.0.331482531281.issue2004@psf.upfronthosting.co.za>
2008-02-05 10:56:45lars.gustaebellinkissue2004 messages
2008-02-05 10:56:44lars.gustaebelcreate