ITPub博客

首页 > 应用开发 > IT综合 > access control lists (ACLs)

access control lists (ACLs)

原创 IT综合 作者:tonykorn97 时间:2008-05-10 13:53:35 0 删除 编辑

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

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-1003800/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-05

  • 博文量
    1854
  • 访问量
    2088319