tleyden
asked on
Problem with linux setfacl
I have set up an ACL on a linux directory using setfacl. The directory is called PAD_Data and the owner and group are root as shown
drwxrwx--- 2 root root 4096 Jul 21 17:32 PAD_Data
I used the following command to set the ACL
setfacl -m g:Providence_users:rw-,g:P AD_Users:r -- ./PAD_Data
the command getfacl ./PAD_Data returns
[root@korthion jail]# getfacl ./PAD_Data
# file: PAD_Data
# owner: root
# group: root
user::rwx
group::rwx
group:Providence_users:rw-
group:PAD_Users:r--
mask::rwx
other::---
Now when I login as a member of either of the groups set in the acl, I get access denied when cd into directory.
I am using redhat. If anyone has any ideas, mucg appreciated. Thank you
drwxrwx--- 2 root root 4096 Jul 21 17:32 PAD_Data
I used the following command to set the ACL
setfacl -m g:Providence_users:rw-,g:P
the command getfacl ./PAD_Data returns
[root@korthion jail]# getfacl ./PAD_Data
# file: PAD_Data
# owner: root
# group: root
user::rwx
group::rwx
group:Providence_users:rw-
group:PAD_Users:r--
mask::rwx
other::---
Now when I login as a member of either of the groups set in the acl, I get access denied when cd into directory.
I am using redhat. If anyone has any ideas, mucg appreciated. Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It is often the easy things, that are so hard to spot. ;) Glad I could help.
ASKER