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, 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