Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the 777 permissions of Linux system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Linux system 777 permissions how to understand, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

What is the meaning of 777 permissions in the Linux system? Linux system gives file permissions in two ways: one is to use r, w, x, and the other is to use numbers to express it. The following tutorial network will explain in detail the specific meaning of 777s permissions in the Linux system.

Each file of Linux generally has three permissions to read, write and execute, and the corresponding values are 4pg2 and 1 respectively.

Enter ll to view permissions for the file.

Smart students have seen that 7 means they have access to read, write and execute. So why three 7s? "three" refers to three different objects, User,Gourp,Other. That is, the file owner, the file owner group, and others. The command for Linux to modify the permissions of the we file is:

Chmod xxx fileName for example: chmod 764 kkk, which gives full permissions to the owner of the kkk file, all groups of files have read and write permissions, while others only have read permission. Ps: non-root users enter sudo before the command as appropriate, otherwise they will indicate that they do not have enough permissions.

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report