Linux File Permissions
Below for quick and easy reference I have a table with the permission number, description, and the output string for Linux file and directory permissions.
Number | Permission | CLI Output |
---|---|---|
0 |
No Permission |
— |
1 |
Execute |
–x |
2 |
Write |
-w- |
3 |
Execute + Write |
-wx |
4 |
Read |
r– |
5 |
Read + Execute |
r-x |
6 |
Read +Write |
rw- |
7 |
Read + Write +Execute |
rwx |
Comments (0)
Leave a Comment