Home > Article > Operation and Maintenance > What does 755 permission mean in linux system
The 755 permissions in the Linux system mean that the owner has readable, writable, and executable permissions, and the group and other users only have readable and executable permissions. Permissions in Linux systems generally use 1-3 digits to represent the permissions of the file owner, 4-6 digits to represent the permissions of users in the same group, and 7-9 digits to represent the permissions of other users.
Linux system permissions generally use 1-3 digits to represent the permissions of the file owner, 4-6 digits to represent the permissions of users in the same group, 7 The -9 number represents the permissions of other users. Specific permissions are represented by numbers. The permission for reading is equal to 4, represented by r; the permission for writing is equal to 2, represented by w; the permission for execution is equal to 1, represented by x; through the combination of 4, 2, and 1 , get the following permissions: 0 (no permission); 4 (read permission); 5 (4 1 | read execution); 6 (4 2 | read write); 7 (4 2 1 | read write into execution).
Take 755 as an example:
● 1-3 bit 7 is equal to 4 2 1, rwx, the owner has read , write and execute permissions;
● 4-6 digit 5 is equal to 4 1 0, r-x, users in the same group have read and execute permissions but no write permissions;
● 7- 9 bit 5, same as above, also r-x, other users have read and execute permissions but no write permissions.
The above is the detailed content of What does 755 permission mean in linux system. For more information, please follow other related articles on the PHP Chinese website!