logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kpseaccess - determine whether a file can be accessed

Description

       Exit  successfully  if  file can be accessed with the specified mode.  The mode is an optional 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.

Name

       kpseaccess - determine whether a file can be accessed

Options

kpseaccess accepts the following options:

       --help Print help message and exit.

       --version
              Print version information and exit.

See Also

access(2)

Kpathsea 6.4.0/dev                                1 March 2011                                     KPSEACCESS(1)

Synopsis

kpseaccessmodefile

See Also