Memo to change permissions in absolute modes with chmod
- 600; user: read/write; group, other: none file
- 644; user: read/write; group, other: read file
- 700; user: read/write/execute; group, other: none directories - for scripts that only the owner can execute
- 711; user: read/write/execute; group, other: execute directories
To learn more about how to set permissions with chmod
and octal-mode read How linux works page 35-37, or pick a book about GNU/Linux and check the index for permissions
and/or chmod
.
To learn more about octal numbers (that’s the number system the octal-mode of chmod
uses) read chapters 10 and 12 of the book Code: the hidden language of computer hardware and software by Charles Petzold - so you can come up with chmod
code without looking them up.
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki permissions chmod