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