Grant rwx access to files and directories for multiple users or groups
mount -o acl /directory
查看acl
getfack file|directory
设置acl
setfacl -m u:gandolf:rwx file|directory
setfacl -m g:nazgul:rw file|directory
setfacl -m d:u:frodo:rw directory
删除acl
setfacl -x u:samwise file|directory
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-1003800/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/312079/viewspace-1003800/
最后
以上就是阔达老师最近收集整理的关于access control lists (ACLs)的全部内容,更多相关access内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复