Get the App
SLTechnology News&Howtos  ›  Servers  › 

Case Analysis of Linux access Control method

Shulou Source: shulou.com Published: 2022-05-31 12:04:13 10月03日 Update

This article introduces the relevant knowledge of "case Analysis of Linux access Control method". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Chown changes the owner of the specified file to the specified user or group (chown-R user name: group name folder)

Chown-R weblogic:weblogic / app

Chown-R weblogic:weblogic / home

Chown-R oracle:dba / app/oracle

Chown-R oracle:dba / app/data

In addition, chmod can also use numbers to represent permissions, such as chmod 777 file

Syntax is: chmod abc file

There is a number for User, Group, and Other respectively.

Renew4, want2, 2, 3, 1, 2, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 2, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4

If you want the rwx property, then 4, 2, 1, 7.

If you want the rw- property, then 4 / 2 / 6

If you want the rmurx attribute, then 4, 1, 7.

This is the end of the content of "case Analysis of Linux access Control method". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Permissions attributes examples case analysis methods analysis control content numbers files more users knowledge practicality learning and then dilemma reality situation owner Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Linux vpn MySQL Microsoft