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

mountd/export problems



I am having a problem with mountd. My /etc/exports is as follows:

#       $OpenBSD: exports,v 1.1 1996/09/06 11:57:20 deraadt 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.

/export/imac/root -maproot=root 192.168.1.1     
/export/imac/swap -maproot=root 192.168.1.1
/export/imac/usr  -maproot=root 192.168.1.1
/export/imac/home -maproot=root 192.168.1.1

 ---snip-----
  
when I start mountd, I get:

Sep 15 15:39:59 ascension mountd[12769]: Can't change attributes for
/export/imac/usr (192.168.1.1). 
Sep 15 15:39:59 ascension mountd[12769]: Bad exports list entry
(192.168.1.1) in line /export/imac/usr  -maproot
Sep 15 15:39:59 ascension mountd[12769]: Can't change attributes for
/export/imac/home (192.168.1.1). 
Sep 15 15:39:59 ascension mountd[12769]: Bad exports list entry
(192.168.1.1) in line /export/imac/home -maproot

and more errors for each entry i had in there.

I looked at mountd.c and saw that the errno was EPERM..

1 EPERM Operation not permitted. An attempt was made to perform an
operation limited to processes with appropriate privileges or to the owner
of a file or other resources.

But what could be causing this? I dont see anything that would restrict
permissions of mountd so that it couldnt access /export/* ...


TIA,
dan