setfacl: Sets the ACL item for a document or directory.
Example:
##Create a file [jimistephen@localhost acl]$ touch acl_test##List file attributes, permissions [jimistephen@localhost acl]$ ll acl_test-rw-rw-r- -. 1 jimistephen jimistephen 0 Mar 10 08:21 acl_test#Permission to modify the document [jimistephen@localhost acl]$ setfacl -mu:jimi:rx acl_test#View the modified permissions [jimistephen@localhost acl]$ ll acl_test-rw- Rwxr--+ 1 jimistephen jimistephen 0 Mar 10 08:21 acl_test## When modifying permissions, there is no user list representing the owner of the file. [jimistephen@localhost acl]$ setfacl -m u::rwx acl_test[jimistephen@localhost acl]$ ll acl_test-rwxrwxr--+ 1 jimistephen jimistephen 0 Mar 10 08:21 acl_test# Get file information and permissions. [jimistephen@localhost acl]$ getfacl acl_test# file: acl_test #filename# owner: jimistephen #file owner# group: jimistephen #file attribute user group user::rwx #file owner's permission user:jimi:rx # Permissions set for a specific user jimi permissions r, xgroup::rw- #File group permissions: mask::rwx #file default effective permissions other::r-- #Others have additional permissions :#This just changed the permissions of the current directory setfacl -mu:myuser1:rx /srv/projecta#If you want to implement all the files and directories under this directory, you can use the following settings: setfacl -md:u:myuser1:rx /srv/projecta
Ubuntus notebook came to a LAN, plugged in the Internet cable, the network cable indicator l
In different Linux distributions, there are different GUI programs that can display various system i
For the Windows operating system, if you forget the administrator password, it is still qui
Linux how to view the size of the hard disk
"Device eth0 does not seem to be pres
LinuxMalloc Analysis - From User Space to Kernel Space
Method for obtaining path file name in Linux system
Ubuntu10.10 installed arm version of Qt encountered error: thread-local storage no
Linux scripts automatically enter passwords
Windows 7 third-party mouse pointer how to delete
How does Win10 enable automatic maintenance? What is the role of automatic system maintenance?
Lenovo B460 installed Win8 system running CAD2008
Win10 patch God mystery does not provide updated content N multi-user crazy
How does Win8.1 set the Wubi input method as the default input method
Qiao set win2003 system comes with a firewall
Win7 Ultimate system how to set (change) the default browser