The setfacl utility sets Access Control Lists (ACLs) of files and directories.

To install setfacl on Ubuntu/Debian, run

Here is an example, where we create 2 users, one user will be given access to folder inside another users home directory.

in setfacl, -m option is used to modify. u specify user, if you need to set acl for a group, use g instead of u.

See Linux Commands

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *