---
name: "nfs4_getfacl"
section: "1"
platform: "linux"
package: "nfs4-acl-tools"
version: "0.4.2-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nfs4_getfacl"
---

# nfs4\_getfacl(1)

get NFSv4 file/directory access control lists

## NAME

nfs4\_getfacl - get NFSv4 file/directory access control lists

## SYNOPSIS

**nfs4\_getfacl \[-HR\]** file ...

## DESCRIPTION

**nfs4\_getfacl** will display the NFSv4 Access Control List (ACL) for the files given as arguments, provided they are on mounted NFSv4 filesystems which support ACLs.

If the  **-H**/**--more-help** flag is specified, **nfs4\_getfacl** will print some information about NFSv4 ACLs and the fields used in ACEs.

If the **-R**/**--recursive** flag is specified,  **nfs4\_getfacl** will list the NFSv4 ACLs of all files and directories recursively.

If the **-c**/**--omit-header** flag is specified, **nfs4\_getfacl** will not display the comment header (Do not print filename).

If the **--dacl** flag is specified, **nfs4\_getfacl** will retrieve the dacl. This functionality is only available if the server supports NFSv4 minor version 1 or newer.

If the **--sacl** flag is specified, **nfs4\_getfacl** will retrieve the sacl. This functionality is only available if the server supports NFSv4 minor version 1 or newer.

The output format for an NFSv4 file ACL, e.g., is:

```
# file: /somedir
A::OWNER@:rwatTnNcCy
A::alice@nfsdomain.org:rxtncy
A::bob@nfsdomain.org:rwadtTnNcCy
A:g:GROUP@:rtncy
D:g:GROUP@:waxTC
A::EVERYONE@:rtncy
D::EVERYONE@:waxTC
```

In the example output above, the user \`alice@nfsdomain.org' has the equivalent of "read" and "execute" permissions, \`bob@nfsdomain.org' has "read" and  "write", and both \`GROUP@' and \`EVERYONE@' have "read".

The ACL listings of multiple files are separated by blank lines.

Refer to the  [**nfs4\_acl**(5)](/nfs4_acl/5.md) manpage for detailed information about NFSv4 ACL terminology and syntax.

## AUTHORS

**nfs4\_getfacl** was written by people at CITI, the Center for Information Technology Integration (*http://www.citi.umich.edu*). This manpage was written by David Richter.

## CONTACT

Please send bug reports, feature requests, and comments to \<*linux-nfs@vger.kernel.org*\>.

## SEE ALSO

[**nfs4\_setfacl**(1)](/nfs4_setfacl/1.md), [**nfs4\_acl**(5)](/nfs4_acl/5.md), *RFC3530* (NFSv4.0), NFSv4.1 Minor Version Draft.
