Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux: file access control list setfacl

Shulou Source: shulou.com Published: 2022-06-03 10:15:26 12月06日 Update

Setfacl

Control wrx permissions for a single user or user group.

For directory files, the-R recursive parameter

For ordinary files, the-m parameter

Delete the ACL,-b parameter of a file.

[root@master1-192,168117-18] # setfacl-Rm u:aa:rwx

[root@master1-192,168117-18] # ls-ld

Drwxrwx---+ 2 root root 4096 December 26 11:10

**

Getfacl

[root@master1-192,168117-18 ~] # getfacl

Tags: Files parameters users controls normal permissions user groups directories Recursion Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information NVidia Apple Redmi OPPO Reno