NFS Mount Issue: chown can’t change membership of nfs filesystem shared from OpenFiler

The problem is the following: I created an NFS share from OpenFiler, and when I tried to mount it using the NFS client on other server, it mounted successfully, but I couldn’t change ownership of the NFS share, as follows:

[root@egohstest04 ~]# chown -R siebel:siebel /ttslab2/siebel/siebelfs
chown: changing ownership of `/ttslab2/siebel/siebelfs’: Operation not permitted

The solution to this is to edit the NFS share options, and change the UID/GID Mapping to “no_root_squash”, and there you go 🙂

Enjoy!

Source: http://www.linuxquestions.org/questions/linux-server-73/nfs-and-chown-wtf-552879/

Advertisements

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s