JAEN

Linux

getfacl / setfacl

CautionPOSIX ACLs

getfacl <path>

Reads/sets fine-grained ACLs beyond owner/group/other — grant one extra user without regrouping.

Examples

  • setfacl -R -m u:app:rX /srv/dataGrant read to one user

Syntax

getfacl <path> / setfacl -m u:<user>:rwx <path>

Before you run it

A '+' in ls -l marks ACL-bearing files.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store