Note:staff is the owning group
Example 1 Viewing File Permissions
The following example shows how to display detailed informa-
tion about a file.
% ls -l file.1
-rw-r--r-- 1 gozer staff 206663 Mar 14 10:15 file.1
The permissions string above (-rw-r--r--) describes that the
file owner has read and write permissions, the owning group
has read permisisons, and others have read permissions.
-bash-3.00$ getfacl file1
# file: file1
# owner: user1
# group: root
user::rwx
group::r-x #effective:r-x
mask:r-x
other:r-x
阅读(631) | 评论(0) | 转发(0) |