summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-18 08:16:33 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-18 08:16:33 (GMT)
commit2d8cc618db60a1e06e834655d856c3e917e39a54 (patch)
tree8469cfe94ea424fdc169d4308d9884f01f3fe12e /Doc/lib/libos.tex
parent298225245242f00989032acc5e015a7dbabe83d8 (diff)
downloadcpython-2d8cc618db60a1e06e834655d856c3e917e39a54.zip
cpython-2d8cc618db60a1e06e834655d856c3e917e39a54.tar.gz
cpython-2d8cc618db60a1e06e834655d856c3e917e39a54.tar.bz2
[ 755617 ] os module: Need a better description of &quot;mode&quot;
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index e5b5962..3d9056d 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -764,6 +764,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}