Linux file permissions

chmod 700 (rwx------)

Owner: read, write, execute · Group: no access · Others: no access

700numeric
rwx------symbolic
7 · 0 · 0owner · group · others
Commands
chmod 700 filename chmod u=rwx,g=,o= filename chmod -R 700 folder/ # apply to a folder and everything in it

Change any permission with the chmod calculator.

What chmod 700 means

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

Each digit is the sum of read (4), write (2) and execute (1).

When to use 700

Private folders (e.g. ~/.ssh) and private scripts.

Related permissions

Questions

What does chmod 700 mean?

chmod 700 sets the permissions to rwx------: the owner can read, write, execute, the group can no access and others can no access.

When should I use 700?

Private folders (e.g. ~/.ssh) and private scripts.

What is 700 in symbolic form?

700 is rwx------ (shown by ls -l as -rwx------ for a file or drwx------ for a folder). The symbolic chmod command is chmod u=rwx,g=,o= file.