LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS Server permission ?? (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-server-permission-742180/)

your_shadow03 07-23-2009 03:54 AM

NFS Server permission ??
 
I have setup NFS Server on Fedora 9 and NFS Client running on Fedora 10.
On NFS Server, I added the following entry in:
Machine : fedora 9
IP : 192.168.1.50
File : /etc/exports
Code:


/Extra    192.168.1.100(ro)

#service nfs restart
Code:

[root@Innovation1 ~]# service nfs restart
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [  OK  ]
Starting NFS services:                                    [  OK  ]
Starting NFS quotas:                                      [  OK  ]
Starting NFS daemon:                                      [  OK  ]
Starting NFS mountd:                                      [  OK  ]
[root@Innovation1 ~]#


Machine: Fedora 10
IP : 192.168.1.100
Code:

#showmount -e 192.168.1.50
/Extra  192.168.1.100

I mounted this way:
Code:

#mkdir /remotedir
#mount -t nfs 10.14.1.50:/Extra /remotedir

Now I can see the file created under /Extra Directory.When I attempted editing the file it displays "read-only"

Then I tried going back to NFS Server. Changed :
Code:

/Extra    192.168.1.100(ro)
to
Code:

/Extra    192.168.1.100(rw)
And Again I tried editing file on Fedora 10 Client MAchine still it says "Read-only"
Started service but no work done.
Suggest ??

your_shadow03 07-23-2009 04:04 AM

Thats Done!!! I added no_root_squash with rw and that did the Trick.
Guys I am experimenting with NFS and hope to carry on activity for rest one week till I complete every single f@#$ing thing with NFS.
Anyone who can explain me with example what the other daemons rpc.mountd, rpc.lockd and rpc.statd is all about.
I read the tutoraisl abut couldnt fidn the Good Docs on the same.

chrism01 07-23-2009 07:10 PM

Here ya go http://www.linuxtopia.org/online_boo...l5_ch-nfs.html
:)


All times are GMT -5. The time now is 06:54 AM.