Hi!
I am in the process of learning file permissions for the Linux+ Certification. Specifically, I am looking at the numerical notation for file permissions. A thought occurred to me as to why the numbers 1-7 represent what they do.
I'll bet you have already explained this concept somewhere in your videos but here it is:
0 - None
1 - Execute
2 - Write
3 - Write and Execute
4 - Read
5 - Read and Execute
6 - Read and Write
7 - Read, Write and Execute
Here are the values that you mentioned for numerical notation. Are these numbers in 3 binary sets?
ie.
6 - read and write
110 ( which is 6 in Binary)
4 - read
100
Does it make sense to think of the numeric file permissions in the form of binary numbers in which each value represents (read, write, execute) --> (111)?
Thank you!