Click to See Complete Forum and Search --> : Permission denied with NFS


mevi
06-26-2002, 06:55 AM
I've got troubles mounting a file system with NFS.

Both on the client as on the server I changed the exports, hosts.allow and the hosts.deny files to:


SERVER CLIENT
EXPORTS /home/server *(rw) /home
HOSTS.ALLOW ALL: 192.168.42.15 ALL: 192.168.42.15
ALL: 192.168.42.16 ALL: 192.168.42.16
ALL: 192.168.42.17 ALL: 192.168.42.17
HOSTS.DENY http-rman: ALL EXCEPT LOCAL http-rman: ALL EXCEPT LOCAL

With rpcinfo -p I checked NFS is running on both machines and everything looks fine
(portmap, status, ypserv, rusersd, ypbind, yppasswdd, fypxfrd, mountd, nfs).

On the server showmount -e states the export of the /home/server directory with all rights for all users.
All users have the same UID on both machines but still I get the messages "Permission denied" when I
try to mount the file system on the server. From the server to the client goes well!


Can someone tell me what I can do to tackle this problem?


Thanks,


Mevi

mevi
06-27-2002, 04:39 AM
The settings above aren't shown well so again the settings:

ON THE SERVER

EXPORTS /home/server *(rw)
HOSTS.ALLOW ALL: 192.168.42.15
ALL: 192.168.42.16
ALL: 192.168.42.17
HOSTS.DENY http-rman: ALL EXCEPT LOCAL


ON THE CLIENT
EXPORTS /home
HOSTS.ALLOW ALL: 192.168.42.15
ALL: 192.168.42.16
ALL: 192.168.42.17
HOSTS.DENY http-rman: ALL EXCEPT LOCAL