[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

16.3.2 Access permission tests

These options test for particular access permissions.

`-g file'
True if file exists and has its set-group-id bit set.

`-k file'
True if file has its sticky bit set.

`-r file'
True if file exists and is readable.

`-u file'
True if file exists and has its set-user-id bit set.

`-w file'
True if file exists and is writable.

`-x file'
True if file exists and is executable.

`-O file'
True if file exists and is owned by the current effective user id.

`-G file'
True if file exists and is owned by the current effective group id.



This document was generated by Jeff Bailey on December, 28 2002 using texi2html