Mount filesystem with acl option
$ mount -o remount,acl /oracle
$ mount
/dev/mapper/VG0-LV1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/mapper/VG0-LV4 on /dump type ext3 (rw)
/dev/mapper/VG0-LV2 on /oracle type ext3 (rw,acl)
/dev/mapper/VG0-LV3 on /usr type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Granting an additional user read access
$ setfacl -m u:lisa:r file
Revoking write access from all groups and all named users (using the effective rights mask)
$ setfacl -m m::rx file
Removing a named group entry from a file’s ACL
$ setfacl -x g:staff file
Copying the ACL of one file to another
Method 1 (did not work in my cygwin install):
$ getfacl file1 | setfacl --set-file=- file2
Method 2:
$ getfacl file1 > acls.txt
$ setfacl -f acls.txt file2
Copying the access ACL into the Default ACL
$getfacl --access dir | setfacl -d -M- dir