-   Linux - Newbie (
-   -   Problem writing to nfs mounted mount point (

blainemiller 10-26-2010 11:54 AM

Problem writing to nfs mounted mount point
I have two servers, 82 and 70.

My exports file on 82 reads

/ ...70(rw)

on 70 I have a mountpoint called mnt_for_82

I execute on 70

mount -t nfs -o rw ...82:/ mnt_for_82

I go to server 70 and indeed can read and travers the mounted subdirectories. However, I try to create a file or subdirectory under the mount point on 70 and I get a *Permission Denied* error.

I'm sure there is a simple explanation for this issue as well as a correct nomenclature for what I'm trying to do in nfs.

Your time and patience is greatly appreciated...



Omnicronos 10-26-2010 12:04 PM

Do you have no_root_squash set in your export?

no_root_ squash = the remote root user will be treated as a root and will be able to change any file and directory.

w1k0 10-26-2010 12:04 PM

Try that set of options:


/ ...70(rw,no_root_squash,sync,no_subtree_check)

blainemiller 10-26-2010 12:26 PM

This was it, w1k0 !!! Thanks!


w1k0 10-26-2010 01:03 PM

You're welcome, Blaine!

Instead of mounting machines manually you'd put something like that in your fstab:


...82:/ mnt_for_82 nfs rw,suid,dev,exec,noauto,nouser,sync 0 0
In such case it'll be enough to use the command:

mount mnt_for_82


Mark the thread as SOLVED (use the link above your first post).

All times are GMT -5. The time now is 01:20 AM.