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

0 0
0 0

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.

About Author

Babin Lonston

Overall 14+ Years of experience in the IT field, currently working as a Senior Linux administration with Virtualization & Cloud. Being numismatist for a long time.
Happy
0 0 %
Sad
0 0 %
Excited
0 0 %
Sleepy
0 0 %
Angry
0 0 %
Surprise
0 0 %

Leave a Comment

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!

Exit mobile version