File Permissions
Permission | Owner u | Group g | Public o |
---|---|---|---|
4Read | |||
2Write | |||
1Execute |
Permission Values
Octal Notation
000
Symbolic Notation
---------
Command
Usage:
chmod 000 filename
chmod 000 /path/to/file
Read (4)
Permission to read/view file contents
Write (2)
Permission to modify file contents
Execute (1)
Permission to run file as program