Home > Operation and Maintenance > Linux Operation and Maintenance > What does 755 permission mean in linux system

What does 755 permission mean in linux system

藏色散人
Release: 2022-04-02 18:50:40
Original
70255 people have browsed it

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.

What does 755 permission mean in linux system

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).

What does 755 permission mean in linux system

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template