mikadonic-文件访问控制设置(深层次的权限控制setfacl)

[root@server0 tmp]# setfacl -m u:natasha:rw fstab
[root@server0 tmp]# setfacl -m u:harry:- fstab
[root@server0 tmp]# setfacl -m o:r fstab
[root@server0 tmp]# getfacl /var/tmp/fstab
getfacl: Removing leading '/' from absolute path names
# file: var/tmp/fstab
# owner: root
# group: root
user::rw-
user:natasha:rw-
user:harry:---
group::r--
mask::rw-
other::r--

posted @ 2018-01-10 15:36  mikadonic  阅读(208)  评论(0编辑  收藏  举报