Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 21:57:14 +0930
From:      "Paul A. Hoadley" <ua901044@student.adelaide.edu.au>
To:        <freebsd-questions@freebsd.org>
Subject:   Syntax of -mapall / -maproot options in /etc/exports
Message-ID:  <001501bfd532$b5d9e3a0$0300000a@local>

next in thread | raw e-mail | index | archive | help
Hello,

I have two fairly similar machines on an ethernet:

FreeBSD grover.local 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Mon Feb 14
13:51:09 CST 2000     paulh@grover.local:/usr/src/sys/compile/GROVER  i386

FreeBSD scooter.local 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Mon Feb 14
10:40:44 CST 2000     paulh@grover.local:/usr/src/sys/compile/SCOOTER
i386

grover runs nfsd, and scooter runs nfsiod.  /etc/exports on grover has
this line in it:

/usr -alldirs -mapall=root scooter

That's what it looks like currently, anyway -- I've tried about every
combination of -maproot and -mapall I could think of.  I expect that this
is the source of my woe -- I don't fully understand the syntax for these
options.  /etc/fstab on scooter has this line in it:

grover:/usr/ports       /usr/ports      nfs     rw              0       2

My single aim is to mount grover:/usr/ports at scooter:/usr/ports so that
I can install some ports onto scooter.  Sometimes, though, I need write
access in grover:/usr/ports from scooter -- and that's where I'm stumped.
It NFS mounts just fine, and mount -p shows:

grover:/usr/ports       /usr/ports      nfs rw  0 2

So it's mounting R/W.  And it sure does read fine.  But even when I login
as root on scooter, I cannot get write permission across the NFS mount.  I
have RTFMd exports, fstab, mount_nfs, nfsd, nfsiod, and even RFC 1094.
Could someone *please* put me out of my misery?


-- 
Paul Hoadley / mailto:paul.hoadley@student.adelaide.edu.au



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501bfd532$b5d9e3a0$0300000a>