Networking Forums

Networking Forums > Computer Networking > Linux Networking > nfs and writing rights

Reply
Thread Tools Display Modes

nfs and writing rights

 
 
Dominik Juszczyk
Guest
Posts: n/a

 
      10-16-2003, 06:59 PM
Hi

I want to mount my home directory with nfs on other computer, and I want to
have writing rights there.
In /etc/exports file I'm adding something like this:
/home/andziu****10.10.10.9(rw)
where /home/anddziu is directory which I want to mount, at host with IP
10.10.10.9 with rw rights (it's how I understend this line)
On host 10.10.10.9 in /etc/fstab I'm adding line:
10.10.10.8:/home/andziu /home/andziu/djus*******nfs*rw,noauto
I'm mounting /home/andziu (which is on 10.10.10.8 host) in /home/andziu/djus
directory.(on 10.10.10.9 host).
Unfortunately after mount I have no rigts to write in this directory.
And here is my quetion: is this possible at all? and if yes, then what I'm
doing wrong?

sorry for my english, but as you can see it's not my first language...

thanks in advance for any help


--
Pozdrawiam, Dominik Juszczyk
 
Reply With Quote
 
 
 
 
Michael
Guest
Posts: n/a

 
      10-17-2003, 04:01 PM
Dominik Juszczyk wrote:
> In /etc/exports file I'm adding something like this:
> /home/andziu 10.10.10.9(rw)
> where /home/anddziu is directory which I want to mount, at host with IP
> 10.10.10.9 with rw rights (it's how I understend this line)
> On host 10.10.10.9 in /etc/fstab I'm adding line:
> 10.10.10.8:/home/andziu /home/andziu/djus nfs rw,noauto
> I'm mounting /home/andziu (which is on 10.10.10.8 host) in /home/andziu/djus
> directory.(on 10.10.10.9 host).


Does your username appear on both boxes with the same UID? If you are
not using some sort of network sharing of passwd information (i.e.
NIS,LDAP,etc) you'll need to make sure both boxes have the same UID.

On 10.10.10.8, try ls -ld /home/andziu
On 10.10.10.9, try id andziu

 
Reply With Quote
 
Suddn
Guest
Posts: n/a

 
      11-01-2003, 03:40 AM
On Thu, 16 Oct 2003 20:59:28 +0200, Dominik Juszczyk wrote:

> Hi
>
> I want to mount my home directory with nfs on other computer, and I want to
> have writing rights there.
> In /etc/exports file I'm adding something like this:
> /home/andziu****10.10.10.9(rw)
> where /home/anddziu is directory which I want to mount, at host with IP
> 10.10.10.9 with rw rights (it's how I understend this line)
> On host 10.10.10.9 in /etc/fstab I'm adding line:
> 10.10.10.8:/home/andziu /home/andziu/djus*******nfs*rw,noauto
> I'm mounting /home/andziu (which is on 10.10.10.8 host) in /home/andziu/djus
> directory.(on 10.10.10.9 host).
> Unfortunately after mount I have no rigts to write in this directory.
> And here is my quetion: is this possible at all? and if yes, then what I'm
> doing wrong?
>
> sorry for my english, but as you can see it's not my first language...
>
> thanks in advance for any help


Yes you can do it. Use: (rw,no_root_squash,async)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba file-writing logs Linux_tec Linux Networking 0 11-04-2006 08:20 PM
Writing Hostname to router Roby Linux Networking 0 10-29-2006 09:05 PM
Writing a config file for ProFTPd =?ISO-8859-15?Q?Daniel_B=F6hmer?= Linux Networking 2 09-21-2005 02:10 PM
NFS high load when writing Justin Linux Networking 11 09-27-2004 12:44 PM
Writing to a CD writer Darragh Coffey Windows Networking 1 01-31-2004 12:01 PM



1 2 3 4 5 6 7 8 9 10 11