Home > Computer Tutorials > Computer Knowledge > What does 777 permission mean in Linux system?

What does 777 permission mean in Linux system?

WBOY
Release: 2024-02-20 08:03:03
forward
966 people have browsed it

What does 777 permission mean in Linux system?

777 permission is a common file permission setting under Linux and Unix operating systems. It means that all users have read, write and execute permissions on files. So what does 777 permission mean in Linux system? Let’s introduce it in detail through this article.

In the Linux system, the permissions of files or directories can be divided into three types:

R:4 Readable

 W:2 can be written

 X:1 Execute

 -: Corresponding value 0

The numbers 4, 2 and 1 represent read, write and execute permissions

rwx=4 2 1=7 (can read and write)

rw=4 2=6 (readable, writable, not executable)

 rx=4 1=5 (readable, runnable, but not writable)

 So the highest authority is 777: (4 2 1)(4 2 1)(4 2 1)

The first 7: indicates the permissions of the owner of the current file, 7=4 2 1 readable, writable and executable permissions;

The second 7: indicates the group permissions of the current file, 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.

The above is the detailed content of What does 777 permission mean in Linux system?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:mryunwei.com
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