What is linux modification permission 777?

WBOY
Release: 2022-03-11 15:02:19
Original
11359 people have browsed it

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.

What is linux modification permission 777?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is linux modification permission 777

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 second 7: indicates the permissions of the group to which the current file belongs (users in the same group) ,7=4 2 1 Readable, writable and executable permissions;
  • The third 7: Indicates the permissions outside the group of the current file, 7=4 2 1 Readable, writable and executable Permissions;
  • Related recommendations: "
  • Linux Video Tutorial

    "

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!