LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Permission denied trying to mount nfs share (https://www.linuxquestions.org/questions/linux-networking-3/permission-denied-trying-to-mount-nfs-share-573241/)

leupi 07-29-2007 08:01 PM

Permission denied trying to mount nfs share
 
I have a server running FC5 and two computers running Ubuntu 7.04. Both can access the shares on the server fine. I recently tried to access the desktop from the laptop but I keep getting a permission denied error when I try.

On the desktop I have the shares in /etc/exports with the IP of the laptop listed. In /etc/hosts I have the hostname of the laptop and the IP. I restarted networking but I cannot mount the share on the laptop, I keep getting a permission denied error. Any thoughts on what could be denying permission? Might this be a firewall issue?

Thanks,
Todd

Micro420 07-30-2007 01:32 AM

you need the ip and path to share. For example

Code:

#/etc/exports file on your desktop computer
192.168.1.2:/home/MyShareFolder (rw,async)

You also need to restart /etc/init.d/nfs, or maybe /etc/init.d/nfsd on the desktop computer

Aftwards, on the desktop computer type
Code:

exportfs
to view nfs shares

I don't think it's a firewall issue since you are getting the permission denied. YOu would get a "cannot connect" error if it was a firewall


All times are GMT -5. The time now is 08:46 AM.