From: Neal Norwitz Date: Mon, 3 Oct 2005 05:14:25 +0000 (+0000) Subject: Fix SF bug #991735, os.access reports true for read-only directories. Will backport X-Git-Tag: v2.4.3c1~254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f391a2d753ccdc498b3dd7f1f134ef0f0366bc1;p=thirdparty%2FPython%2Fcpython.git Fix SF bug #991735, os.access reports true for read-only directories. Will backport --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 3cda22626fd3..a2420ee442ad 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -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}