chmod 700 — rwx------

700 = rwx------: full access for the owner only.

Updated

700
Octal
rwx------
Symbolic
Safe
Security

What does chmod 700 mean?

chmod 700 gives full access for the owner only. The owner can read, write and execute (or enter the directory); nobody else has access. Use 700 for ~/.ssh, private script folders and backup directories.

WhoDigitSymbolicPermissions
Owner (user)7rwxread, write, execute
Group0---no access
Others0---no access

Each digit is the sum of read (4), write (2) and execute (1). In ls -l the file shows as -rwx------ and a directory as drwx------.

How to use chmod 700

# one file or directory
chmod 700 filename

# the same permissions in symbolic form
chmod u=rwx,g=,o= filename

# a directory and everything inside it
chmod -R 700 directory/

# only directories (keep files separate)
find path/ -type d -exec chmod 700 {} +

Need a different combination? Tick the boxes in the chmod calculator to get the octal and symbolic values instantly.

Chmod calculatorToggle read, write and execute for owner, group and others to build any permission.
Open the calculator

Frequently asked questions

What does chmod 700 do?
It sets the permissions to rwx------: the owner gets read, write, execute, the group no access and others no access.
What is 700 in symbolic notation?
rwx------, or chmod u=rwx,g=,o= as a symbolic chmod command.
Is chmod 700 safe?
Yes, 700 does not give write access to other users.