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

Symbolic meaning of permissions in Linux files

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Symbolic meaning of permissions in Linux files

In Linux, each file has different permissions. Users can use the ls-l command to view permission properties. Where the meaning of the symbol is as follows:

R: read permission.

W: write permission.

X: executable permissions.

-: no permission.

S:SET bit permissions.

T: sticky bit permission.

For example, the permission for the executable file ls is-rwxr-xr-x. The first symbol represents the file type, and-represents the normal file, followed by owner permissions, group permissions, and other user permissions. Here, it means that the owner permissions of the ls file are read, write, and executable; the permissions of the group are read and executable; and the other user permissions are read and executable. After some file permission attributes, it may appear as a dot, plus sign, or space, such as "- rw-rw-r--." Or "- rw-r--r--+". Where a bit after the permission attribute indicates that the file has "SELinux's security context"; the permission attribute is marked with a plus sign (+), indicating that the ACL (Access Control List) permission is used. If a space is appended to the file permission, the system has no replaceable access control measures.

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

Servers

Wechat

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

12
Report