Function: Change the file's ownership rights
chmod [OPTION] ... Mode... FILE ...
u user
Group G
o Other
A All users (default)
+ Add Permissions
-Delete Permissions
= Reassign Permissions
R Read
W Write
X execution
s set user (or group) ID number
T set the sticky bit (sticky bit) to prevent files or directories from being deleted by non-owner
For permission settings, we typically use a 3-bit octal number representation: 4 (Read), 2 (write), 1 (Execute)
You can also set the 4-bit, which is in front of the 3-bit permission sequence, with values of 4, 2, 1
4 Set the user ID at execution time for authorization to a file-based process rather than to the user who created the process
2 Set user group ID at execution time for authorization to processes based on the group of files, rather than on the user who created the process
1 this sticky bit.
Linux command----chmod