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 serhiy.storchaka
Recipients loewis, martin.panter, pitrou, serhiy.storchaka, vajrasky
Date 2016-06-10.07:29:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465543799.92.0.810905832726.issue19930@psf.upfronthosting.co.za>
In-reply-to
Content
> The obvious but more complicated alternative would be to call chmod() on all the new directories in a second step.

This is dangerous, because if you create read-only or unlistable directory, you couldn't remove it without changing the permission of parent directory. shutil.rmtree() would fail.
History
Date User Action Args
2016-06-10 07:29:59serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, martin.panter, vajrasky
2016-06-10 07:29:59serhiy.storchakasetmessageid: <1465543799.92.0.810905832726.issue19930@psf.upfronthosting.co.za>
2016-06-10 07:29:59serhiy.storchakalinkissue19930 messages
2016-06-10 07:29:59serhiy.storchakacreate