Home    Other Tools

Unix permissions calculator

For chmod, umask etc.

Permission User Group Other
Read
Write
Execute

Permissions

-rwxr-xr-x

With Mask

-rwxr-xr-x

Some Notes

  • The first character in drwxr-xr-x, for example, gives the file type (directory in this case).
  • The user and group execute permission place may be S (or s meaning executable as well) to represent setuid and setgid.
  • The other execute permission place may be T (or t meaning executable as well) to represent the sticky bit.
  • Files are never created with execute permissions (umask execute is ignored), but directories can be.
  • Sometimes a umask will have four values, e.g. 0022. The leading 0 is a mask for the setuid, setgid and sticky bits.

See Also