Set Permissions
Owner
Group
Others
Octal
700
Symbolic
rwx--- ---
Binary
111000000
About
Guide
File permissions in Linux and Unix-like systems control who can read, write, and execute files. Understanding the different notations (octal, symbolic, and binary) is crucial for setting proper access controls and securing a system.
Permissions are set for three categories of users: the file's owner, the group, and all others. Each category has three permissions: read (4), write (2), and execute (1). The octal value is the sum of these numbers. For example, rwx for the owner is 4+2+1=7. Symbolic notation uses letters to represent permissions (r, w, x) and hyphens for denied permissions.