Kitloft

All tools / chmod reference

chmod 700 (rwx------)

Only the owner can read, write and enter. The required mode for ~/.ssh and other private directories.

chmod 700 in symbolic form
rwx------

Who can do what

ReadWriteExecute
Owner✓✓✓
Group–––
Others–––

Commands

Set the mode
chmod 700 my-dir
# same thing in symbolic form:
chmod u=rwx,g=,o= my-dir

In ls -l output, a file with this mode shows as -rwx------ and a directory as drwx------.

Try a different mode

ReadWriteExecuteSpecial
Owner
Group
Others
Octal Symbolic
Command