NFSv4 ACL Issue with nfs4_setfacl --test option

Solution Verified - Updated -

Issue

  • When using nfs4_setfacl --test option on an NFSv4 share, the displayed ACL differs from the applied ACL:

    # nfs4_setfacl -a A::1000:RWX /path/to/share/testdir --test
    ## Test mode only - the resulting ACL for "/path/to/share/testdir":
    A::1000:rwaDxtTnNcCy
    D::OWNER@:rwaDx
    A::OWNER@:tTcCy
    A::1002:rwaDxtcy
    A::GROUP@:tcy
    A::EVERYONE@:tcy
    
    # nfs4_getfacl /path/to/share/testdir
    # file: /path/to/share/testdir
    D::OWNER@:rwaDx
    A::OWNER@:tTcCy
    A::1000:rwaDxtcy
    A::1002:rwaDxtcy
    A::GROUP@:tcy
    A::EVERYONE@:tcy
    
  • Why are ACLs from nfs4_setfacl --test not the same as applied ACLs?

  • Why does the nfs4_setfacl --test show different ACLs than the applied ones?

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