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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content