Permission problems using NFS on OpenBSD 4.2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Thursday, April 17, 2008 - 6:00 pm

Hi There,

I'm trying to use NFS on OpenBSD 4.2 but I'm getting permission errors.
Here are the contents of the exports file:

# $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
#
# NFS exports Database
# See exports(5) for more information. Be very careful:
misconfiguration
# of this file can result in your filesystems being readable by the
world.
/public_nfs -alldirs -ro -network=10.0.0 -mask=255.255.255.0

Here are the contents of the rc.conf.local file:

ntpd_flags= # enabled during install
nfs_server=YES
portmap=YES

And here are the contents of hosts file:

# $OpenBSD: hosts,v 1.11 2002/09/26 23:35:51 krw Exp $
#
# Host Database
#
# RFC 1918 specifies that these networks are "internal".
# 10.0.0.0 10.255.255.255
# 172.16.0.0 172.31.255.255
# 192.168.0.0 192.168.255.255
#
::1 localhost.epvgroup localhost
127.0.0.1 localhost.epvgroup localhost
::1 lappc2.epvgroup lappc2
127.0.0.1 lappc2.epvgroup lappc2
10.10.1.232 epv2.epvgroup.com epv2

From the 10.10.1.232 machine I'm trying to mount the /public_nfs
directory, here is
the command and the output:

[root@epv2 greg]# mount -t nfs 10.10.1.110:/public_nfs /home/greg/mnt
mount: 10.10.1.110:/public_nfs failed, reason given by server:
Permission denied
[root@epv2 greg]#

I'm wondering if you can tell me what settings do I have to modify to
give permissions
to mount the directory.

Thank You

Greg

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Permission problems using NFS on OpenBSD 4.2, Gregorio Arvilla, (Thu Apr 17, 6:00 pm)
Re: Permission problems using NFS on OpenBSD 4.2, Christopher Linn, (Thu Apr 17, 9:06 pm)
Re: Permission problems using NFS on OpenBSD 4.2, Todd T. Fries, (Thu Apr 17, 8:14 pm)
Re: Permission problems using NFS on OpenBSD 4.2, Owain Ainsworth, (Thu Apr 17, 7:01 pm)
Re: Permission problems using NFS on OpenBSD 4.2, Joshua Gimer, (Thu Apr 17, 6:58 pm)