[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount remote file system



I'm not modifying the /etc/exports file.

I tried the following command in the remote machine
exportfs -v -i  192.168.0.100:/root/dvddir/ -o no_root_squash

And tried to mount it in the local machine using the following command.
mount -t nfs 192.168.0.101:/root/dvddir/ laptopdvd/

It displays the following message.
mount: 192.168.0.101:/root/dvddir/ failed, reason given by server: Permission denied

- Jos Collin

On Tue, Aug 19, 2008 at 7:47 PM, François Cerbelle <francois@cerbelle.net> wrote:

Le Mar 19 août 2008 15:53, Jos Collin a écrit :
> debian:~# mount -t nfs 192.168.0.101:/root/dvddir/ laptopdvd/
> mount: 192.168.0.101:/root/dvddir/ failed, reason given by server:
> Permission denied
> I don't know whether it is a problem because of the read-only file system.

No, I think it is because root@local is not allowed to mount /root/dvddir
with NFS.
Add the option "no_root_squash" on the "/root/dvddir" line, in the
/etc/exports file

Francois


Reply to: