Chmod Permissions Builder
Build chmod commands visually with a permission matrix. Shows octal, symbolic, and command output.
How to use the Chmod Permissions Builder
- 1Toggle the read, write, and execute checkboxes for Owner, Group, and Others in the permission matrix.
- 2The octal value and symbolic string (e.g., 755 = rwxr-xr-x) update live in the output box as you click.
- 3Copy the full `chmod 755 filename` command or just the octal value depending on what your script needs.
- 4Use the preset buttons for common patterns: web server files (644), directories (755), private scripts (700).
Run this script on a real Linux server
Get $200 free credit — DigitalOcean
Get $200 Free →Affiliate link · we earn a commission
Frequently Asked Questions
What does chmod 755 mean?
chmod 755 gives the owner full read, write, and execute permissions (7), and gives group and others read and execute but not write (5). It is the standard permission for directories and executable scripts on Linux web servers.
What is the difference between chmod 644 and chmod 755?
chmod 644 gives the owner read and write (no execute), and group and others read only. It is the correct permission for static files like HTML, CSS, and configuration files. chmod 755 adds execute permission, which is required for scripts and directories.
How do I make a bash script executable?
Run `chmod +x script.sh` to add execute permission without changing any other permissions. For a fresh script with no existing permissions, `chmod 755 script.sh` sets the standard owner-executable pattern used for system scripts.
What does the sticky bit do on a directory?
When the sticky bit is set on a directory (chmod +t or mode 1755), only the file owner or root can delete or rename files inside it — even if others have write access to the directory. The /tmp directory uses this to prevent users from deleting each other's temporary files.