ACL failure after directory setup
I'm trying to setup ACL for a specific directory but man!! this is getting too complicated, not sure what is going on here.
User 'zeus' is trying to access set_folder in /opt/omari/DCTIXE/, which belongs to 'nari'. Both users have different groups
tower:~ $ cd /opt/omari/DCTIXE/set_folder
-bash: cd: /opt/omari/DCTIXE/set_folder: Permission denied
tower:~ $ ls /opt/omari/DCTIXE/set_folder
ls: cannot access /opt/omari/DCTIXE/set_folder: Permission
denied
I tried almost everything, I get permission denied when zeus try to access /opt/omari/DCTIXE/set_folder
here is my current setup:
----------------- /opt/omari/DCTIXE/set_folder -----------------
tower:DCTIXE> getfacl set_folder
file: set_folder
owner: nari
group: nari
user::rwx
user:zeus:rwx
group::r-x
mask::rwx
other::rwx
default:user::rwx
default:user:zeus:rwx
default:group::r-x
default:mask::rwx
default:other::rwx
----------------- /boot/config -----------------
/boot/config-2.6.32-358.el6.x86_64:CONFIG_EXT2_FS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_EXT3_FS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_EXT4_FS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_FS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_XFS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_BTRFS_FS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_GENERIC_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_TMPFS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_JFFS2_FS_POSIX_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_NFS_V3_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_NFSD_V2_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_NFSD_V3_ACL=y
/boot/config-2.6.32-358.el6.x86_64:CONFIG_NFS_ACL_SUPPORT=m
/boot/config-2.6.32-358.el6.x86_64:CONFIG_CIFS_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_EXT2_FS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_EXT3_FS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_EXT4_FS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_FS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_XFS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_BTRFS_FS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_GENERIC_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_TMPFS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_JFFS2_FS_POSIX_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_NFS_V3_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_NFSD_V2_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_NFSD_V3_ACL=y
/boot/config-2.6.32-696.el6.x86_64:CONFIG_NFS_ACL_SUPPORT=m
/boot/config-2.6.32-696.el6.x86_64:CONFIG_CIFS_ACL=y
----------------- opt/ file system mount -----------------
tower:etc # tune2fs -l /dev/mapper/appvg-opt
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:
Last mounted on: /opt
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
----------------- ACL version Installed -----------------
Package nfs4-acl-tools-0.3.3-8.el6.x86_64 already installed and latest version
Package acl-2.2.49-7.el6_9.1.x86_64 already installed and latest version
----------------- /etc/fstab -----------------
/dev/mapper/appvg-opt /opt ext4 acl,defaults 0 0
----------------- /etc/mtab -----------------
/dev/mapper/appvg-opt /opt ext4 rw,acl 0 0
any idea how to fix that?