1KPSEACCESS(1)               General Commands Manual              KPSEACCESS(1)
2
3
4

NAME

6       kpseaccess - determine whether a file can be accessed
7

SYNOPSIS

9       kpseaccess mode file
10

DESCRIPTION

12       Exit successfully if file can be accessed with the specified mode.  The
13       mode is an optional dash (`-') followed by zero or more letters of rwx,
14       where r is for readable, w is for writable, and x is for executable.
15
16       The  difference between kpseaccess and test is that the latter looks at
17       the permission bits, while the former checks using the access(2) system
18       call.   This  makes  a  difference  when file systems have been mounted
19       read-only.
20

OPTIONS

22       kpseaccess accepts the following options:
23
24       --help Print help message and exit.
25
26       --version
27              Print version information and exit.
28

SEE ALSO

30       access(2)
31
32
33
34Kpathsea 6.3.4                   1 March 2011                    KPSEACCESS(1)
Impressum