LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2007, 09:36 AM   #1
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 38
NFS share for a certain user


On my nfs server i have a directory called /var/www/html/lectures. I have it set up as an NFS share. My export file from the server side looks like so:

/var/www/html/lectures 19.29.149.81(rw) 9.9.149.82(rw)

From the client side i do a mount command like so:

mount 19.29.149.81:/var/www/html/lectures /var/www/html/lectures

As root even I cannot create a file there though I do have full read privileges. Is there anything else that needs to be set up so I can have write access to it as well?

Thanks,

Harlin
 
Old 05-14-2007, 01:28 PM   #2
Harlin
Member
 
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 38
Ok.. fixed it.. here's what i did... I put this in /etc/exports :

/path/to/html 19.29.149.81(rw,insecure,sync,insecure_locks,all_squash,anonuid=0,anongid=0)
/path/to/html 19.29.149.82(rw,insecure,sync,insecure_locks,all_squash,anonuid=0,anongid=0)

And then on the client side i did:

mount ip.address:/path/to/html /path/to/mount

It now works exactly as i wanted.

Thanks,

Harlin Seritt
 
  


Reply



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
mounting nfs share jon23d Slackware 4 06-25-2006 03:19 AM
NFS share not working ahmedb72 Red Hat 3 02-22-2006 02:38 AM
NFS share problem ElVirolo Linux - Networking 2 02-20-2006 05:16 PM
Need to configure a NFS share... Thaidog Linux - Newbie 1 06-01-2005 09:39 AM
NFS Share from Linux to OS X GT_Onizuka Linux - Networking 2 08-05-2004 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration