~/devtools / chmod / 755
tool::chmod-detail

chmod 755

rwxr-xr-x

Standard Executable / Directory

ad · 728×90
Permission Structure
Owner (User)
Read (r)
Write (w)
Execute (x)
Group
Read (r)
Write (w)
Execute (x)
Others
Read (r)
Write (w)
Execute (x)
Octal
755
Symbolic
rwxr-xr-x

Explanation

chmod 755 grants the owner full read, write, and execute permissions, while group and others get read and execute only. This is the most common permission for web server directories and executable scripts. Anyone can enter the directory or run the file, but only the owner can modify it.

Common Use Cases
  • Apache/Nginx web server document root directories
  • Public shell scripts (.sh) and executable binaries
  • Node.js project root directories
  • System shared directories (/usr/local/bin, etc.)
  • Scripts referenced by GitHub Actions workflows
Security Considerations

Since 755 allows all users to execute, avoid it on files containing sensitive data. When applying 755 to a web root directory, ensure child files are set to 644. Write permission is limited to the owner, preventing unintended modification by others.

Command Examples

$ chmod 755 /var/www/html
$ chmod 755 deploy.sh
$ find /var/www -type d -exec chmod 755 {} \;
$ chmod -R 755 /usr/local/bin/myapp

Related Permissions

644rw-r--r--777rwxrwxrwx700rwx------600rw-------
ad · 300×250
Back to chmod Calculator
// related tools
Cron Expression Generator
Build and parse cron expressions visually. Generate human-readable descriptions and preview next execution times.
jwt
JWT Decoder
Decode and inspect JWT tokens. View header, payload, and signature details.
rx
Regex Tester
Test regular expressions with live matching, group highlighting, and explanations.
Color Converter
Convert colors between HEX, RGB, HSL, and more. Pick colors visually.