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 pitrou
Recipients pitrou, r.david.murray, serhiy.storchaka, vajrasky
Date 2013-12-16.19:13:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387221238.94.0.863473924458.issue19921@psf.upfronthosting.co.za>
In-reply-to
Content
Note that the description of the POSIX mkdir utility (*) has something a bit more complex to say about the `-p` option. Instead of simply applying the default umask, it computes """(S_IWUSR|S_IXUSR|~filemask)&0777 as the mode argument, where filemask is the file mode creation mask of the process (see XSH umask)""".

But unless the umask has a pathological value (such as 0o333), it doesn't really matter. The main point is that the original mode argument is ignored.

(*) http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html
History
Date User Action Args
2013-12-16 19:13:58pitrousetrecipients: + pitrou, r.david.murray, serhiy.storchaka, vajrasky
2013-12-16 19:13:58pitrousetmessageid: <1387221238.94.0.863473924458.issue19921@psf.upfronthosting.co.za>
2013-12-16 19:13:58pitroulinkissue19921 messages
2013-12-16 19:13:58pitroucreate