]> granicus.if.org Git - python/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:13:46 +0000 (05:13 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 05:13:46 +0000 (05:13 +0000)
Doc/lib/libos.tex

index 2fbecfaacff68c3829589cffd4cda6a5d48b037f..3662a46f77a0c673724f30fc6459c0299f3c48b5 100644 (file)
@@ -692,6 +692,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}