getfacl
作者:互联网
getfacl 可查看设置的ACL权限
[root@node02 data]# getfacl /data/test
getfacl: Removing leading '/' from absolute path names
# file: data/test
# owner: user1
# group: user1
user::rwx
group::r-x
other::r-x
[root@node02 data]# setfacl -m u:user2:rw /data/test
[root@node02 data]# getfacl /data/test
getfacl: Removing leading '/' from absolute path names
# file: data/test
# owner: user1
# group: user1
user::rwx
user:user2:rw-
group::r-x
mask::rwx
other::r-x
标签:node02,group,root,getfacl,test,data 来源: https://www.cnblogs.com/lixiangshuailinux/p/15987525.html