Problem with linux setfacl

Posted on 2007-07-21
Last Modified: 2007-07-21
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

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
Question by:tleyden
    LVL 3

    Accepted Solution

    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.

    Author Comment

    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
    LVL 3

    Expert Comment

    It is often the easy things, that are so hard to spot. ;) Glad I could help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now