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

Updated 2014-08-28T21:34:20+00:00

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 content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.