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... Thanks! Blaine |
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. |
Try that set of options:
Code:
/ ...70(rw,no_root_squash,sync,no_subtree_check) |
This was it, w1k0 !!! Thanks!
Blaine |
You're welcome, Blaine!
Instead of mounting machines manually you'd put something like that in your fstab: Code:
...82:/ mnt_for_82 nfs rw,suid,dev,exec,noauto,nouser,sync 0 0 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 10:59 PM. |