[Python-checkins] python/dist/src/Doc/lib libos.tex,1.167,1.168

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Mon Oct 3 07:13:49 CEST 2005

Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28640/lib

Modified Files:
Log Message:
Fix SF bug #991735, os.access reports true for read-only directories.  Will backport

Index: libos.tex
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- libos.tex	31 Aug 2005 13:50:17 -0000	1.167
+++ libos.tex	3 Oct 2005 05:13:46 -0000	1.168
@@ -692,6 +692,11 @@
 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.}

More information about the Python-checkins mailing list