LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   mounting error (https://www.linuxquestions.org/questions/red-hat-31/mounting-error-263127/)

nedian123 12-06-2004 02:43 AM

mounting error
 
hi,
i m unable to share the /home of server. when i mount -a on the slave an error is generated

mount: host1:/home failed, reason given by server: permission denied


the /etc/hosts files on both server and slave r same.
on the server the contents of file /etc/exports are

/home *.192.168.0.20/24(rw,sync,no_root_squash)



Akhtar

wmakowski 12-08-2004 11:30 PM

Re: mounting error
 
Quote:

Originally posted by nedian123
on the server the contents of file /etc/exports is

/home *.192.168.0.20/24(rw,sync,no_root_squash)
[/B]
It looks to me like the net/mask entry of the ip addresses in /etc/exports is incorrect. The "*." at the front of the net/mask does not make sense. Combining that with a net/mask combination is not permitted. The entry should be as follows:
Code:

/home 192.168.0.20/24(rw,sync,no_root_squash)
By the way, using no_root_squash is somewhat dangerous. A user logged in as root on a client (slave) would have complete access to /home after they mount it.

Bill


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