The meaning of the Linux command chmod 755
chmod is Linux The following number represents the permissions for different users or groups of users under the command to set file permissions.
It is usually three digits:
The first number indicates the permissions of the file owner
The second number indicates the permissions of other users who belong to the same user group as the file owner
The third number represents the permissions of the other user groups .
Permissions are divided into three types: read (r=4), write (w=2), execute (x=1) . The combination also has a readable executable (rx=5=4+1), a readable writable (rw=6=4+2), and a readable writable executable (rwx=7=4+2+1).
Therefore, chmod 755 sets the user's permissions to:
1. File owner readable writable executable--7
2. Other user-readable executable--5 that belong to the same user group as the file owner
3. Other user groups can read executable--5
This article is from "Dream Dreams" blog, please be sure to keep this source http://dreamy.blog.51cto.com/12471447/1911086
Linux orders the meaning of chmod (8) 755