Commit 92ff693e authored by Neal Norwitz's avatar Neal Norwitz

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

parent 708e51a6
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment