NFS with Fedora 13
Krosh Ivanov
krosh.ivan at gmail.com
Sun Mar 6 02:02:52 UTC 2011
Hi folks,
I'm using Fedora 13 as a nfs-server and a mini version of Fedora in a
virtual machine as nfs-client, but I've got some permission problems. I've
edited the files /etc/exports, /etc/hosts.allow and /etc/hosts.deny and I
keep getting errors related to permission (like "mount.nfs: access denied by
server while mounting 192.168.122.1:/home/max/Documents/Src/libs"). It is
unclear to me why those errors are happening, 'cause I disable the firewall
(iptables, etc.) every time before running the nfs service and the target
directory permission is 0777, the selinux is disabled as well.
The configuration files are below. The server's ip is 192.168.122.1 and the
client's one is 192.168.122.140.
The command that is used to mount on client is "mount -t nfs -o nfsvers=4
192.168.122.1:/home/max/Documents/Src/libs /root/libs/".
exports file:
/home/krosh/Documents/Src/libs
192.168.122.0/24(ro,sync,no_subtree_check,no_root_squash)
hosts.allow
lockd: 192.168.122.140
portmap: 192.168.122.140
rquotad: 192.168.122.140
mountd: 192.168.122.140
statd: 192.168.122.140
hosts.deny:
portmap: ALL
Is there another file that I should alter?
Thanks,
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110306/e03c67e9/attachment.html
More information about the users
mailing list