Unix Permissions Calculator

Permissions

Scope Read Write Execute
Owner
Group
Others

Umask removes permissions from the default mode. It is useful when checking what new files or directories will get from a shell, service, or deployment script.

Convert Unix permissions between chmod numbers, rwx strings, symbolic assignments, and umask results. Use it before running commands in deployment scripts, Dockerfiles, CI jobs, shared directories, and production servers.

The calculator keeps special bits visible because setuid, setgid, and sticky directories can be security-sensitive. Parse an existing mode from ls -l, adjust it with checkboxes, then copy a ready chmod command.

Reading Unix permission modes

Owner, group, and other permissions are built from read, write, and execute bits. The calculator keeps the numeric mode and symbolic rwx form synchronized, so you can see exactly how a change affects both representations. It also applies a umask to the usual file mode 666 or directory mode 777.

Review the generated mode before applying it recursively. Granting write access to a group, making a file executable, or enabling setuid and setgid can materially change who may modify or run a resource.