KPSEACCESS(1) General Commands Manual KPSEACCESS(1)
NAME
kpseaccess - determine whether a file can be accessed
SYNOPSIS
kpseaccess mode file
DESCRIPTION
Exit successfully if file can be accessed with the specified mode. The mode is an op-
tional dash (`-') followed by zero or more letters of rwx, where r is for readable, w is
for writable, and x is for executable.
The difference between kpseaccess and test is that the latter looks at the permission
bits, while the former checks using the access(2) system call. This makes a difference
when file systems have been mounted read-only.
OPTIONS
kpseaccess accepts the following options:
--help Print help message and exit.
--version
Print version information and exit.
SEE ALSO
access(2)
Kpathsea 6.3.4/dev 1 March 2011 KPSEACCESS(1)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-21 17:02 @216.73.216.130 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)