Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix getfacl command

Quick links

About getfacl
Syntax
Examples
Related commands
Linux / 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

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope