Here’s a quick and dirty example to demonstrate Linux file permissions and how to read them.
Linux permissions are displayed in 10 characters, like this:
The first character is the type of resource. Here are 3 common types you might encounter.
The last nine are really groups of three.
rwx have integers attached to them.
How it adds up
|because||4 + 2 + 1 = 7|
|because||4 + 2 = 6|
|because||4 + 1 = 5|