1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 22:40:34 +02:00

A tweak to:

(File System): In access?, reword a bit, clarify real
versus effective ID handling, cross reference glibc on that, and
recommend against access tests in library functions.
This commit is contained in:
Kevin Ryde 2003-09-21 01:38:01 +00:00
parent a21ceb528d
commit 1cd9ea6915

View file

@ -568,9 +568,9 @@ attempt uses the effective ID.
A program which will never run set-UID/GID can ignore the difference
between real and effective IDs, but for maximum generality, especially
in library functions, it's generally best not to use @code{access?} to
predict the result of an open or execute, instead simply attempt that
and catch any exception.
in library functions, it's best not to use @code{access?} to predict
the result of an open or execute, instead simply attempt that and
catch any exception.
The main use for @code{access?} is to let a set-UID/GID program
determine what the invoking user would have been allowed to do,