The meaning and difference between Linux chmod 755 and chmod 777

  
                  

What do Linux chmod +755 and chmod +777 mean?

You can type ls -al in the linux terminal first, you can see such as:

-rwx-r--r-- (a total of 10 parameters) The first parameter has nothing to do with chmod No matter. 2-4 parameters: belong to user 5-7 parameters: belong to group 8-10 parameters: belong to others, then simple: r==> readable w==> writable x==> Executable r=4 w=2 x=1 So 755 stands for rwxr-xr-x

755 means that the user has read, write, and execute permissions on the file, and other people in the same group have execute and read permissions. There is no permission to write, and the permissions of other users are the same as those of the same group. . .

777 stands for, user, group, others, both have read and write and executable permissions.

Copyright © Windows knowledge All Rights Reserved