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.

Babin Lonston
Overall 13+ Years of experience in IT field, 7+ years of experience in Linux administration with Virtualization & Cloud technologies. Love documentation and being Numismatics for a long time.

Installing Git from kerenel.org in Centos RHEL Oracle 6 Linux

Previous article

Creating ASM disks using SAN disks through multipath in Oracle DB Servers

Next article

You may also like

Comments

Leave a reply

Your email address will not be published.

More in Security