In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
What is the 1.ACL permission list? Why use ACL lists?
Traditional permissions have only three identities (owner,group,other) with three kinds of permissions (rdhow.x), and there is no way to simply set the permission requirements for a certain user or a certain group. at this time, we need to use ACL (file access control list, Acess Control List) mechanism.
Note: as a result, ACL has been added to almost all common Linux file system mount parameters (ext2/ext3/ext4/xfs, etc.) by default, but rhtl6.0 and previous versions do not support acl by default.
2 commands relating to facl
View permission list set permission list getfaclsetfacl-m set permissions-x delete specified user-b close list function
When deleting using the setfacl-x command, the list function cannot be turned off, only the set users and permissions can be deleted.
Mask threshold in facl
The mask threshold is the maximum valid permission that a specified user can obtain.
* * using chmod to reduce file permissions after setting the facl list is likely to damage mask
Mask setting: setfacl-m m: permission value TAG
**
You can only change the user permissions in the current interface. When you create a new file, you do not have the permissions previously set.
**
Facl's default permission * * defalut permission feature is only set for directories, only for new files or directories in the directory, but not for the directory itself, and does not take effect for the original files in the directory. Defalut permission setting method set-m DVR u: specify user: specify permission directory
Only for directories, only for new files or directories in the directory, no effect for the directory itself, no effect for the existing files in the directory |
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.