1) owners
2) groups
3) others
Permissions which can be granted are read,write and execute
1) read (r)
2) write (w)
3) execute (e)
These permissions are represented with numeric values
r - 4
w - 2
e - 1
-----------
7
-----------
Owners are users whose files gets referred from their respective accounts.
Groups are users whose accounts are dependent on the other accounts.
Others are users who can access the files of other users.
Chmod command is used to change the permissions for a file or directory.
Syntax:
$ chmod FAP Filename
* FAP is file access permissions
Examples:
$ chmod ooo paypal.txt
No permissions to owners,groups and others
$ chmod 777 paypal.txt
All permissions to owners,groups and others
$ chmod 444 paypal.txt
Read permission to owners,groups and others (4 - read)