]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix SF bug #991735, os.access reports true for read-only directories. Will backport
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 05:14:25 +0000 (05:14 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 05:14:25 +0000 (05:14 +0000)
Doc/lib/libos.tex

index 3cda22626fd37c89b01357196d500103b3d54983..a2420ee442ad6f12c9760a4346166ae7108aeb7f 100644 (file)
@@ -672,6 +672,11 @@ Availability: Macintosh, \UNIX, Windows.
 open a file before actually doing so using \function{open()} creates a 
 security hole, because the user might exploit the short time interval 
 between checking and opening the file to manipulate it.}
+
+\note{I/O operations may fail even when \function{access()}
+indicates that they would succeed, particularly for operations
+on network filesystems which may have permissions semantics
+beyond the usual \POSIX{} permission-bit model.}
 \end{funcdesc}
 
 \begin{datadesc}{F_OK}