Chmod Calculator
Calculate Unix file permissions with an interactive chmod calculator. Toggle read, write, and execute permissions for owner, group, and others. See the numeric (octal) and symbolic notation in real time.
chmod 755ls -l output: -rwxr-xr-xHow to Use the Chmod Calculator
Toggle the Read (r), Write (w), and Execute (x) permission buttons for each role — Owner, Group, and Others. The numeric (octal) value, symbolic notation, and the full chmodcommand update in real time. You can also type a 3-digit octal number directly into the input field (e.g., 755) and the toggles will update to match. Click any row in the "Common Permissions" table to instantly apply that configuration. Copy the chmod command or the ls -l output with one click.
What Is chmod?
chmod (change mode) is a Unix/Linux command that sets file and directory permissions. Permissions control who can read, write, and execute a file. There are three permission groups: the file owner (user), the group the file belongs to, and everyone else (others). Each group can have read (4), write (2), and execute (1) permissions. These values are added together to form a single digit: 7 means rwx (read + write + execute), 5 means r-x (read + execute), 4 means r-- (read only), and 0 means no permissions. The three digits combined give the full permission set, like 755 meaning the owner has full access while group and others can only read and execute.
Common Use Cases
Set permissions for deployment scripts (755), protect configuration files with sensitive credentials (600), configure web server document roots (644 for files, 755 for directories), set up shared project directories (775), and restrict SSH key files (600). Schedule permission changes with our Cron Expression Generator, or verify file integrity using the Hash Generator. Understanding chmod is essential for Linux system administration, web server configuration, Docker container setup, and CI/CD pipeline permissions. Never use 777 in production — it allows anyone to read, write, and execute, creating a serious security vulnerability.