the line that i have in exports is
/clients/redhat *(rw,sync)
Main Topics
Browse All TopicsI have a problem with an nfs mount and I'm at at wits end.
Let's say I have 3 servers....Server-A Server-B Server-C
On Server-A I have a folder /clients/redhat that I have in my exports
On Server-B I create a folder /clients/redhat and mount to Server-A
On Server-C I create a folder /clients/redhat and mount to Server-A
Here is the problem:
On Server-B I can go to /clients/redhat and create a directory foo either as root or regular user.then delete it.
On Server-C I go to /clients/redhat and try to make a directory bar (or anything else) as root or regular user and it says permission denied.
On Server-D I create an empty folder and mount it to Server-A and I can write without a problem.
I have no clue as to why I can't write to that folder from Server-C.
I did remove the mount and mounted it again on Server-C and still can't write to it.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Okay, to move forward with this lets concentrate on why root doesn't have permissions to write a directory or file to the NFS mount.
Obviously we are fine with the server as Server-B has the ability to write and delete.
Server-C on the other hand has this issue. Do you have SELinux enabled and enforcing on Server-C? /usr/bin/sestatus to check if this is the case.
Otherwise, you should get errors in /var/log/messages on either the client (Server-B) or the server (Server-A) can you check the logs on both after you have tried to write to the directory, try both a file and directory create.
On server-a in messages it shows both server-b and server-c having authenticated mount requests to that folder.
selinux is set to enforcing on server-c (/etc/selinux/config)
i'm not sure what difference that could make since every other mount to other systems is fine
server-a is RHEL 3 update 8
server-b is RHEL ES 4 udpate 6
server-c is RHEL AS 4 update 5
i have since opened a case with red hat. after sending sysreports for all 3 systems and modifying the mount syntax and exports a bit, even they think it's bizarre
You have the option of leaving the case with Redhat, after all you are paying for their support, and you can request a refund as no one else has offered you any assistance.
But to continue anyway: If SeLinux is active it may be stopping your from writing to the NFS mount, SELinux is one of the few things that can stop root from doing stuff. However this should appear with a flood of information in /var/log/messages.
Apparently selinux had nothing to do with it as there is nothing in messages. The issue is resolved. What the root cause is I will probably never know. What I have done is update the bios, bmc/perc firmware. Server-A was rebooted and now Server-C can write to that mount on Server-A. The reboot was the solution but makes no sense as to what caused it.
Business Accounts
Answer for Membership
by: WizRd-LinuxPosted on 2008-07-20 at 19:03:28ID: 22047697
Is the export including the write ability for the Server-C host? This is the only reason you shouldn't be able to write to the particular directory.
Make sure you don't have two exports with different permissions or a weird typo... if you are unsure paste the output of cat /etc/exports