Build or decode Linux file permissions with a simple click interface. Set read, write, and execute permissions for owner, group, and other, and instantly see the numeric chmod value and symbolic representation.
| Read | Write | Execute | Value | |
|---|---|---|---|---|
| Owner | 7 (rwx) | |||
| Group | 5 (r-x) | |||
| Other | 5 (r-x) |
The tool converts between octal, symbolic, and binary permission representations using pure JavaScript bit arithmetic. No library required. Checking a box sets the corresponding bit; typing an octal value like 755 reverses the process to tick the right boxes.
All calculations happen locally in the page. Our servers are not involved at any point.
For subnet math like host counts and netmasks, try the CIDR calculator. To convert numeric permission bits between bases, use the number base converter. For testing permission patterns in path strings, see the regex tester.
Typically: directories at 755 (rwxr-xr-x) and files at 644 (rw-r--r--). This lets the web server read files and traverse directories while preventing others from writing. Executable scripts may need 755.
Run chmod +x filename to add the execute bit for all users, or chmod 755 filename to set full owner permissions plus read/execute for others.
The first column of ls -l output shows permissions in symbolic form, e.g. -rwxr-xr-x. The first character is the file type (- for file, d for directory, l for symlink). The next nine characters are three rwx groups for owner, group, and other.