From: Georg Brandl Date: Mon, 18 Jul 2005 08:17:08 +0000 (+0000) Subject: backport bug [ 755617 ] os module: Need a better description of "mode" X-Git-Tag: v2.4.2c1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=062f18661a89976dd22cda092b9d31808644e64a;p=thirdparty%2FPython%2Fcpython.git backport bug [ 755617 ] os module: Need a better description of "mode" --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 46764b2bb6da..3cda22626fd3 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -751,6 +751,11 @@ Change the mode of \var{path} to the numeric \var{mode}. \item \code{S_IXOTH} \end{itemize} Availability: Macintosh, \UNIX, Windows. + +\note{Although Windows supports \function{chmod()}, you can only +set the file's read-only flag with it (via the \code{S_IWRITE} +and \code{S_IREAD} constants or a corresponding integer value). +All other bits are ignored.} \end{funcdesc} \begin{funcdesc}{chown}{path, uid, gid}