www.delorie.com/gnu/docs/textutils/coreutils_97.html   search  
 
Buy GNU books!


GNU Core-utils

[ < ] [ > ]   [ << ] [ 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.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003