Unable change permission to NFS share mounted at the client.

Solution Verified - Updated -


  • The permissions for files can be changed inside the NFS share, but the directory permissions cannot be changed, even by using root at the client.
  • Here is an example of the failure, which includes the NFS client mount options:
# mount | grep nfs
nfsd on /proc/fs/nfsd type nfsd (rw) on /opt/oracle/foobar002 type nfs (rw,user=oracle,noexec,nosuid,nodev,user,noac,nfsvers=3,tcp,rsize=1048576,wsize=1048576,addr=
# ls -ld /opt/oracle/foobar002
drwxrwxrwx 2 root root 2048 Mar 19 09:52 /opt/oracle/foobar002
$ touch /opt/oracle/foobar002/oracle-test.txt
$ ls -l /opt/oracle/foobar002/
total 0
-rw-r--r-- 1 oracle           oinstall         0 Mar 19 15:19 oracle-test.txt
-rw-rw-r-- 1 myuidgid myuidgid 0 Mar 19 15:18 test-2.txt
-rw-r--r-- 1       4294967294       4294967294 0 Mar 19 15:17 test.txt
# chown oracle /opt/oracle/foobar002/
chown: changing ownership of `/opt/oracle/foobar002/': Operation not permitted


  • Red Hat Enterprise Linux 5.6
    • NFS client
  • NFS server
    • /etc/exports:
/xyz/export *(sync,rw,root_squash,anonuid=4294967294,anongid=4294967294,no_subtree_check,anonuid=4294967294,anongid=4294967294,fsid=29247)

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