mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Fix SF bug #991735, os.access reports true for read-only directories. Will backport
This commit is contained in:
parent
708e51a6b1
commit
92ff693eb1
1 changed files with 5 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue