[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 811
  • Last Modified:

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
0
tleyden
Asked:
tleyden
  • 2
1 Solution
 
LiganicCommented:
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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now