Why can only the root user access the existing files in a directory, despite existing ACLs?

Solution Verified - Updated -

Issue

Users can not access a directory content, even if they have a ACL with such permission.

Sample error:

    [testuser@server01 ~]$ ls /testdir
    ls: /testdir: Permission denied

getfacl returns:

    [testuser@server01 ~]$ getfacl /testdir
    getfacl: Removing leading '/' from absolute path names
    # file: testdir
    # owner: root
    # group: root
    user::rwx
    user:testuser:rwx           #effective:---
    group::r-x          #effective:---
    mask::---
    other::---

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.