Next: File characteristic tests, Previous: File type tests, Up: test invocation [Contents][Index]
These options test for particular access permissions.
True if file exists and has its set-group-ID bit set.
True if file exists and has its sticky bit set.
True if file exists and read permission is granted.
True if file exists and has its set-user-ID bit set.
True if file exists and write permission is granted.
True if file exists and execute permission is granted (or search permission, if it is a directory).
True if file exists and is owned by the current effective user ID.
True if file exists and is owned by the current effective group ID.