LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-10-2008, 02:00 PM   #1
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
NFS non root user don't have write access.


Hi,

I have mounted a share(nfs/share) from boxA to boxB.
On boxB only root can modify the share/files etc on mounted nfs.
Of course on box a non root user(owner of /nfs/share) can read/write etc.


on boxB its mounted as
<server>/nfs/share /local
and non root user have full access to over /local.



Any Ideas?

Thanks.
 
Old 10-10-2008, 02:44 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Yep! I have an idea!
You are going to have to modify the line in /etc/fstab (on boxB) to look something like this:
Code:
<server>:/nfs/share   /local   nfs   defaults,user,rw   0   0
On boxA, make sure you export the directory with the same options as you define in /etc/fstab:
Code:
/nfs/share   xxx.xxx.xxx.xxx(user,rw,no_squash_root)
Just as a side note, when you're asking about proper configurations in the future, it is best to usually include the configuration file or a snippet from the configuration file in question. In this case, we would have liked to have seen the /etc/fstab from boxB, and the /etc/exports file from boxA.

Last edited by indienick; 10-10-2008 at 02:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to have write-access to NFS packets Linux - Newbie 9 11-24-2007 12:23 AM
NFS write access denied on one of two filesystems TomF Linux - Security 2 02-23-2005 08:48 PM
NFS problem - no write access? aaronfg Linux - Newbie 3 12-22-2004 05:52 AM
NFS non root read write access matthewkeen Linux - Networking 8 09-09-2004 10:52 PM
NFS: how can I get write-access?? pablovschby Linux - Networking 3 12-24-2003 08:39 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration