Subject: RPC/mountd problems
To: None <>
From: Ian Zagorskih <>
List: tech-net
Date: 07/07/2004 18:08:23
NetBSD NBSD1 2.0_BETA NetBSD 2.0_BETA (NBSD1) #1: Tue Jun 15 15:33:23 NOVST 
2004  ianzag@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386

I have NetBSD NFS server with the following /etc/exports list:

# Projects exports
/home/maks -maproot=root:wheel -network -mask
/home/ssd -maproot=root:wheel -network -mask
/home/console -maproot=root:wheel -network -mask

# Public exports
/home/pcguest -mapall=nobody:nobody -ro -network -mask

So i want to export /home/pcguest as read only and /home/<project> as 
read/write for some network. /home resided on dedicated partition as

/dev/wd1e on /home type ffs (soft dependencies, NFS exported, local)

When i run /etc/rc.d/mountd start i got the following error in syslog:

Jul  7 18:04:23 NBSD1 mountd[10699]: "/home/pcguest -mapall", line 8: Can't 
change attributes for /home/pcguest to Operation not permitted

Question is: why i cannot export several directories from the same root 
directory with different access rights ?

// wbr