In Linux, modifying permissions 777 means modifying the permissions to read, write and run; the first "7" means that the owner of the current file has read and run permissions, and the second "7" means that the owner of the current file has read and run permissions. The group to which it belongs has readable and runnable permissions. The third "7" indicates the readable and runnable permissions of the current file outside the group.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
In the Linux system, the permissions of files or directories can be divided into 3 types:
R: 4 Readable
W: 2 Writable
##rwx = 4 2 1 = 7 (can be read and written to run)
rw = 4 2 = 6 (can be read and written but not run)
rx = 4 1 = 5 (can be read and written Running is not writable)
So the highest permission is 777: (4 2 1) (4 2 1) (4 2 1);
The first 7: means The permissions of the owner of the current file, 7=4 2 1 readable, writable and executable permissions;
"
The above is the detailed content of What is linux modification permission 777?. For more information, please follow other related articles on the PHP Chinese website!