From: Georg Brandl Date: Sat, 17 Dec 2005 17:14:12 +0000 (+0000) Subject: Bug #1106572: clarify os.makedirs docs wrt umask X-Git-Tag: v2.5a0~1008 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1d2f7b6ad3fbd456f3b3a09a493e14f8880bc6c;p=python Bug #1106572: clarify os.makedirs docs wrt umask --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 50dad083d8..04acce613d 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -875,7 +875,8 @@ Like \function{mkdir()}, but makes all intermediate-level directories needed to contain the leaf directory. Throws an \exception{error} exception if the leaf directory already exists or cannot be created. The default \var{mode} -is \code{0777} (octal). +is \code{0777} (octal). On some systems, \var{mode} is ignored. +Where it is used, the current umask value is first masked out. \versionadded{1.5.2} \versionchanged[This function now handles UNC paths correctly]{2.3} \end{funcdesc}