ACL's seem strait forward but I can't seem to get mine to work. Am I doing something incorrectly?
Setting the ACL for testuser on /test_dir
Code:
setfacl -Rdm u:testuser:rwx /test_dir/
[root@workstation1 ~]# getfacl /test_dir
getfacl: Removing leading '/' from absolute path names
# file: test_dir
# owner: root
# group: root
user::rwx
group::rwx
other::---
default:user::rwx
default:user:testuser:rwx
default:group::rwx
default:mask::rwx
default:other::---
Logging in and testing access
Code:
[root@workstation1 ~]# su - testuser
[testuser@workstation1 ~]$ cd /test_dir/
-bash: cd: /test_dir/: Permission denied
Checking if ACL is enabled on system
Code:
[root@workstation1 ~]# tune2fs -l /dev/mapper/vg_root-lv_root | grep acl
Default mount options: user_xattr acl
Does anyone see something I'm missing?