kpseaccess - determine whether a file can be accessed
2. SYNOPSIS ▲
3. DESCRIPTION ▲
Exit successfully if filecan be accessed with the specified mode. The mode is one or more letters of rwx , where ris for readable, wis for writable, and xis for executable.
The difference between
test is that the latter looks at the permission bits, while the former checks using the
R access (2) system call. This makes a difference when file systems have been mounted read-only.
4. OPTIONS ▲
kpseaccess accepts the following additional options:
.rb Print help message and exit.
.rb Print version information and exit.
5. SEE ALSO ▲
R access (2)