Basic tutorial for acl settings under linux

  
 

ACL is an abbreviation of Access Control List. The main purpose is to provide detailed permission training in addition to the traditional owner, group, other's read, write, and execute permissions. ACL can be used to set the permissions of r, w, and x for a single user, a single file or a directory, which is very helpful for the use of special permissions.

Which ACL can be used to control permissions? He can mainly target several projects: · user: can set permissions for users; · group: set permissions for groups as objects; · default properties (mask ): You can also specify the default permissions for new data when creating new files/directories in this directory;

command: getfacl View directory, file acl settings setfacl set directory, file acl< Br>

The specific usage is as follows:



Copyright © Windows knowledge All Rights Reserved