The affected user is unexpectedly denied access to the directory:
$ ls mydir/
ls: cannot open directory 'mydir/': Permission denied
At the same time, getfacl misleadingly reports the ACL entry as still effective:
# getfacl mydir
# file: mydir
# owner: root
# group: root
user::rwx
user:appuser:r-x
group::---
mask::r-x
other::---
Sequence that reproduces the problem:
# mkdir -p mydir/sub
# setfacl -m u:appuser:r-x mydir # access granted - OK
# su appuser -c "ls mydir/" # succeeds
sub
# chmod 700 mydir # permissions changed
# su appuser -c "ls mydir/" # now FAILS
ls: cannot open directory 'mydir/': Permission denied
# setfacl -m u:appuser:r-x mydir # re-applying ACL has no effect
# su appuser -c "ls mydir/" # still FAILS
ls: cannot open directory 'mydir/': Permission denied
The same sequence on ext4, or on the unaffected OS versions, correctly restores access when the ACL is re-applied.
In POSIX ACLs, the ACL "mask" is represented by the directory's group permission bits. VxFS stores the mask only in the directory's mode and recalculates it when getfacl is run. Newer Linux kernels (SLES 15 SP6+, RHEL 9.6+) introduced an in-memory ACL cache in front of that calculation. VxFS populates this cache but does not clear it when chmod changes the directory's permissions, so the cached ACL and the directory's actual permissions no longer agree. As a result:
- The denial immediately after chmod 700 is expected — removing the group permission bits removes the ACL mask, which makes the named-user entry ineffective.
- getfacl continuing to show mask::r-x after that chmod is incorrect — it reports the stale cached value rather than the real permission.
- Re-running setfacl has no effect because it first reads the current ACL, receives the stale cached copy which already shows exactly the permission being requested, concludes nothing needs to change, and therefore writes nothing — leaving the user locked out.
On unaffected kernel versions there is no such cache, so getfacl always returns the true value and setfacl writes the change correctly.
Workaround
Before the fix is applied, access can be restored immediately by resetting the directory's group (mask) permission bits directly, rather than by re-running setfacl:
# chmod g=rx <directory>
General guidance when using named-user or named-group ACLs on VxFS on the affected OS versions:
- Perform any chmod on the directory first, and apply ACLs with setfacl last.
- After changing directory permissions, do not rely on getfacl output alone to confirm effective access — verify actual access and, if needed, use chmod g=rx <directory> to restore the mask.
- Where practical, avoid interleaving chmod operations with named-user ACLs on the same object.
Note:
The Product Engineering team currently plans to address this issue through a patch or hotfix in the previous software versions.
However, for the latest version, it is scheduled to be resolved in the 9.2.3 release.
Please note that the product engineering team reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests.
Our plans are subject to change, and any actions you take based on this information, or your reliance on it, are at your own risk
On a VxFS filesystem, a named user who has been granted access to a directory through a POSIX ACL (setfacl) loses that access after the directory's permissions are subsequently changed with chmod. After the chmod, getfacl continues to display the user's ACL entry as valid, but the user is denied access, and re-applying the same ACL entry with setfacl does not restore access.
This behavior is seen only on VxFS running on newer Linux kernels:
- Affected: SLES 15 SP6 and above (including SP7); RHEL 9.6 and above.
- Not affected: SLES 15 SP5 and earlier; RHEL 8.10 and earlier; ext4 and other non-VxFS filesystems.
The issue has been observed on VxFS 8.0.2.x, 9.0.5, and 9.2 on the affected kernel versions.
Feedback submitted!