Setfacl Examples: Give Users and Groups Access to Files and Directories

Last updated:
Table of Contents

WIP Alert This is a work in progress. Current information is correct but more content may be added in the future.

Give user write permission to directory, recursively

Example give user john permission to read, write and execute files under directory mydir, recursively:

$ setfacl -R -m u:john:rwx mydir

Dialogue & Discussion