[Python-checkins] python/dist/src/Doc/lib libos.tex, 1.146.2.10, 1.146.2.11

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Mon Oct 3 07:14:28 CEST 2005


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

Modified Files:
      Tag: release24-maint
	libos.tex 
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.146.2.10
retrieving revision 1.146.2.11
diff -u -d -r1.146.2.10 -r1.146.2.11
--- libos.tex	18 Jul 2005 08:17:08 -0000	1.146.2.10
+++ libos.tex	3 Oct 2005 05:14:25 -0000	1.146.2.11
@@ -672,6 +672,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.}
 \end{funcdesc}
 
 \begin{datadesc}{F_OK}



More information about the Python-checkins mailing list