标题: Access Control List(ACL) [打印本页] 作者: hrcxf 时间: 2003-03-29 15:55 标题: Access Control List(ACL) Access Control List(ACL)
符号:+
getfacl filenames
setfacl –m(modify) acl_entries
setfacl –s(replace) acl_entries
setfacl –d(delete) acl_entries
acl_entries: u[ser]::perm – Sets the permissions for the file owner.
g[roup]::perm– Sets the permissions for the owner’s group.
o[ther]:perm – Sets the permissions for users other than the
owner or members of the owner’s group.
u[ser]:UID:perm or u[ser]:username:perm – Sets the
permissions for a specific user. The username must exist in the /etc/passwd file.
g[roup]:GID:perm or g[roup]:groupname:perm – Sets the permissions for a specific group. The groupname must exist in the /etc/group file.
m[ask]:perm – Sets the ACL mask. The mask entry indicates the maximum permissions allowed for all users, except the owner, and for all groups. The mask is a quick way to change permissions for all the users and groups.