WORKED CASE · SYNTHETIC TEST DATA
Distinguish executable permissions from writable permissions
A directory or script often needs a different permission set from a data file. Start with the default 755 pattern and inspect each group.
Input and settings
Owner: rwx
Group: r-x
Other: r-xRun and interpret
Reload the tool to restore defaults. Owner has read, write and execute; group and other have read and execute only.
Expected output
755
rwxr-xr-xScope and possible misuse
This calculates nine basic permission bits. It does not model ACLs, ownership, umask, setuid, setgid or the sticky bit, and never changes local file permissions.