
Network administration - Unix and Linux operating systems decentralize access to files and directories by using three access parameters, read (read), write (write) and execute (run) to delegate to three groups of objects statues, including: system owners, administrative groups and users.
If you list the properties of a file in detail with the ls command with the -l switch (for example, ls -l [filename] ), this command will return information with the form -rwe-rw-r- ( ie, decentralize read, write and execute to the system owner, grant read and write permissions to the administrative group, and only read permissions to other user objects).
Each of these access privileges corresponds to a value:
The values for some access rights corresponding to each group are added together to form a value between 0 and 7 (can be used to change or decentralize using the chmod command - change mode ).
For example, enter the command chmod 764 [filename] to grant access to a certain file, in which the value of 764 is generated from:
You can use the chmod command to assign permissions to files and directories, but you should keep in mind the correct chmod command, not the uppercase characters in the command.
The chmod command is often used
Here are some common chmod commands:
See more:
ncG1vNJzZmismaXArq3KnmWcp51ksaq%2F06ugm62kmnqntcueZJqbk5rAtHnWoquhZZOdurCwjJympqWRo7E%3D