The chown(1) fails to change ownership from root on NFSv4 filesystems

Solution Verified - Updated -

Issue

  • Upgrade to RHEL 6.3 has introduced a problem whereby we can no longer change/set the ownership of files on NFSv4 filesystems.
  • Chown fails if NFS share has mounted with NFSv4.

    # chown test.test /mnt/foo
    chown: changing ownership of `/mnt/foo': Invalid argument
    
  • Issue may also exist in later versions of RHEL 5, but this has not been confirmed at this time.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5(only where NFSv4 is supported)
  • Using NFSv4 to mount shares

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