Permissions on NFS mount

I am mounting a directory remotely but I am not able to write to the NFS mount. I am using the following commands to share and mount the file system:

On source server in DFStab file
share -F nfs -o rw -d "IWStore" /iw-store

On the client I am mounting like this:
mount -F nfs -o rw servername:/iw-store /myhome

The file systems mounts and I can get into it, but I am not able to write anything into it. I am logged in as root on both machines. Any ideas as to what I need to do to have write perms into the mount?

thanks!

root_squash is likely the default now... obviously anyone could build a machine themselves, mount your NFS area and become root on that box otherwise.

Look for a no_root_squash option on export if you don't mind being so insecure. :slight_smile:

Any errors you see in the /var/adm/messages when you try to access?

Unmount and remount the file system
Run: /etc/init.d/nfs.client stop; /etc/init.d/nfs.client start
on solaris 10, used svcadm to restart the daemon

If nothing works then reboot the client

On the source server, share it with following option:
share -F nfs -o rw=clientname,root=clientname -d "IWStore" /iw-store

It might not make a big difference though cos it was already mounted with read/write perm globally