Chmod Permission Calculator

Type any octal value (000–777)
or use the grid below
EntityRead (r)Write (w)Execute (x)Octal
Owner (u)7
Group (g)5
Others (o)5
Octal (Numeric)
755
Symbolic Notation
rwxr-xr-x
rwxr-xr-x
chmod 755 filename

What do permissions mean?

Read (r) = 4 File: view contents.
Directory: list contents (ls).
Write (w) = 2 File: modify or delete.
Directory: create/delete files inside.
Execute (x) = 1 File: run as a program.
Directory: enter (cd) the directory.
Owner (u) The user who owns the file. Usually the creator.
Group (g) Users in the file's associated group.
Others (o) Everyone else on the system.
setuid (4000) Executable runs with the owner's privileges. Appears as 's' in owner execute bit.
setgid (2000) Executable runs with group's privileges. New files in dir inherit group.
Sticky bit (1000) Only the file owner can delete files in a directory. Used on /tmp.

Build cron expressions → Cron Expression Generator

Generate .htaccess → .htaccess Generator

Format SQL → SQL Formatter