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

chmod 700

rwx------

Owner-Only Executable

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
700
Symbolic
rwx------

Explanation

chmod 700 restricts all access to the owner only — full read, write, and execute — while group and others have zero access. Used to protect SSH directories (~/.ssh), private scripts, and sensitive executables. Ideal when the owner needs to run the file but no one else should read or modify it.

Common Use Cases
  • ~/.ssh directory (required for SSH connections)
  • Personal backup scripts and automation tools
  • Deployment scripts that use private keys
  • Root-only system administration scripts
  • The user's own home directory
Security Considerations

700 is mandatory for the ~/.ssh directory. OpenSSH refuses connections if .ssh has permissions wider than 700. Using 700 on private scripts prevents other users from reading their contents, protecting any embedded secrets.

Command Examples

$ chmod 700 ~/.ssh
$ chmod 700 ~/scripts/deploy-prod.sh
$ chmod 700 /root/maintenance.sh
$ ls -la ~ | grep .ssh  # verify permissions

Related Permissions

755rwxr-xr-x644rw-r--r--777rwxrwxrwx600rw-------
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.