Ready to Start Your Career?

By: Divya Lakshmanan
November 10, 2016
A Primer on Linux File Permissions

By: Divya Lakshmanan
November 10, 2016

Character Position in the string:  1 | 2 3 4 | 5 6 7 | 8 9 10                                                                  |Permission assigned:                  | r w x | r w x | r w xNumerical value of permission:       4 2 1   4 2 1  4 2 1For example:
- -rw-r--r-- permission on a file denotes that it is a normal data file; has read permissions for owner, group users and all users; and has write permission only for the owner.
- drwxr-xr-x permission on a file denotes that it is a directory; has read and execute permission for owner, group users and all users; and has write permission only for the owner.