|
Quick links About
getfacl Syntax Examples
Related commands Unix
main page
About getfacl
Display discretionary file information.
Syntax
getfacl [-a] [-d] file
| -a |
Display the filename, the file owner, the file group owner, and the ACL of the file. |
| -d |
Display the filename, the file owner, the file group owner, and the default ACL of the file, if it exists. |
| file |
The path name of a regular file, special file, or named pipe. |
Examples
getfacl myfile.txt - would display results
similar to the following:
# file: myfile.txt
# owner: computerhope
# group: users
user::rw-
group::---
#effective:---
mask:rwx
other:---
The complete available facl commands include:
# file: filename
# owner: uid
# group: gid
user::perm
user:uid:perm
group::perm
group:gid:perm
mask:perm
other:perm
default:user::perm
default:user:uid:perm
default:group::perm
default:group:gid:perm
default:mask:perm
default:other:perm
Related commands
chmod
ls setfacl
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|