How do I read chmod permissions?
Answer
The sums of these numbers give combinations of these permissions:
Answer
The sums of these numbers give combinations of these permissions:
- 0 = no permissions whatsoever; this person cannot read, write, or execute the file.
- 1 = execute only.
- 2 = write only.
- 3 = write and execute (1+2)
- 4 = read only.
- 5 = read and execute (4+1)
- 6 = read and write (4+2)
- 7 = read and write and execute (4+2+1)