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:PAD_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
tleydenAsked:
Who is Participating?
 
LiganicConnect With a Mentor Commented:
For entering into a directory you must have execute (x) set! just modify your setfacl line and put the x in and it should work.
0
 
tleydenAuthor Commented:
Thanks very much Liganic.  Should have spot that one.  That was the last and final piece to setting up this project I am working on.  Thanks again
0
 
LiganicCommented:
It is often the easy things, that are so hard to spot. ;) Glad I could help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.