Granting Access control List (ACL) for a user on a file in Solaris 11

In this guide let us see how to provide special permission for a user on file or directory by using ACL.

# chmod A+user:jack:read_data/write_data/execute:allow /home/export/sysadmin/

-bash-4.1$ ls -v /home/export/sysadmin/
total 4
-rw-r--r-- 1 jack staff 0 Dec 22 10:32 1111
 0:owner@:read_data/write_data/append_data/read_xattr/write_xattr
 /read_attributes/write_attributes/read_acl/write_acl/write_owner
 /synchronize:allow
 1:group@:read_data/read_xattr/read_attributes/read_acl/synchronize:allow
 2:everyone@:read_data/read_xattr/read_attributes/read_acl/synchronize
 :allow

This is similar to setfacl command in Linux.

Leave a Comment

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

We promise not to spam you, and we don't usually send more than one email a week.

You have Successfully Subscribed!