chmod
Role: Modify the directory or file permissions (= Assignment regardless of whether or not, + Add permissions) The permission of the symbolic link cannot be changed, if the user modifies the permissions on the symbolic link, the change will affect the original file being linked.
Parameter:-r: Recursive modification Processing
-V: Shows the execution process
-H: Only changes are made to the symbolic linked files, and no other related files are changed.
-F: Do not display error messages
Syntax 1:chmod u=rwx,g=r--, o=r--(ugo=r) filename
Syntax 2:chmod 744 filename
Syntax 3:chmod u+x filename
Extension: Linux users are divided into: owners, groups, other users, Linux systems, presets, all accounts in the system and general identity users, as well as root information, are recorded in the/etc/passwd file, each person's password recorded in/etc/shadow File. All the group names are recorded under/etc/group.
Example: chmod u+x,g+w,o=r f01//For file F01 set itself can be executed, the members can write permissions
Chmod-r 764 f01//Modify permissions for all file directories under File F01 to 764
CHMOD-V//Display execution instruction procedure
chmod command Explanation