coreutils: Access permission tests

1 
1 16.3.2 Access permission tests
1 ------------------------------
1 
1 These options test for particular access permissions.
1 
1 ‘-g FILE’
1      True if FILE exists and has its set-group-ID bit set.
1 
1 ‘-k FILE’
1      True if FILE exists and has its “sticky” bit set.
1 
1 ‘-r FILE’
1      True if FILE exists and read permission is granted.
1 
1 ‘-u FILE’
1      True if FILE exists and has its set-user-ID bit set.
1 
1 ‘-w FILE’
1      True if FILE exists and write permission is granted.
1 
1 ‘-x FILE’
1      True if FILE exists and execute permission is granted (or search
1      permission, if it is a directory).
1 
1 ‘-O FILE’
1      True if FILE exists and is owned by the current effective user ID.
1 
1 ‘-G FILE’
1      True if FILE exists and is owned by the current effective group ID.
1