GlusterFS ACL permissions are not correctly set

Solution Verified - Updated -

Issue

When defining a default ACL in a glusterfs share, the ACL is not inherited correctly by subsequent files. For example:

  • Correct (Expected) ACL:
[root@server01 testdir]# getfacl testfile
# file: testfile
# owner: root
# group: root
user::rw-
user:testuser:rwx           #effective:rw-
group::r-x          #effective:r--
mask::rw-
other::r--
  • Actual glusterfs ACL:
[root@server01 testdir]# getfacl testfile
# file: testfile
# owner: root
# group: root
user::rw-
user:testuser:rwx           #effective:r--
group::r-x          #effective:r--
mask::rw-
other::r--

The effective permission for testuser is r-- instead of rw-.

Environment

  • Red Hat Gluster Storage 3
  • glusterfs volume

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.