File permissions · modechmod 700 — rwx------
What chmod 700 (rwx------) means, who is allowed to do what, and when these permissions are used: a private directory for the owner only: ~/.ssh, ~/.gnupg.
Open in the calculator01
What breaks
02
Easily confused with
03
Commands for this case
chmod 700 ~/.ssh ~/.gnupg
close both secret directories at once
chmod 700 ~/private && chmod 600 ~/private/*
the directory and its contents: neither protects without the other
Work out other permissions
The calculator opens on this mode: checkboxes, octal and symbolic notation, an ls -l line and the ready command.
Updated