chown command on an NFS4 share does not work

Solution Verified - Updated -

Issue

  • After running chown on an NFS4 mount point, owner is not changed:
 # chown -vvv www-data:www-data /srv/nfs_share
 ownership changed for /srv/nfs_share to www-data:www-data
 # ll -d /srv/nfs_share
 drwxr-xr-x 6 root root 2048 24 Jul 11:41 /srv/nfs_share
  • Directory mount options are below:
 1.2.3.4:/nfs_share on /srv/nfs_share type nfs4 (rw,nosuid,nodev,sync,addr=1.2.3.4,clientaddr=1.2.3.5)

Environment

  • NFS server:
    • HNAS from HITACHI 3100 version 8.2.
  • NFS client:
    • 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