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