Fix SF bug #991735, os.access reports true for read-only directories. Will backport

This commit is contained in:
Neal Norwitz 2005-10-03 05:13:46 +00:00
parent 708e51a6b1
commit 92ff693eb1

View file

@ -692,6 +692,11 @@ Availability: Macintosh, \UNIX, Windows.
open a file before actually doing so using \function{open()} creates a open a file before actually doing so using \function{open()} creates a
security hole, because the user might exploit the short time interval security hole, because the user might exploit the short time interval
between checking and opening the file to manipulate it.} 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} \end{funcdesc}
\begin{datadesc}{F_OK} \begin{datadesc}{F_OK}