Subject: RPC/mountd problems
To: None <tech-net@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
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:
---cut---
# Projects exports
/home/maks -maproot=root:wheel -network 192.168.100.0 -mask 255.255.255.0
/home/ssd -maproot=root:wheel -network 192.168.100.0 -mask 255.255.255.0
/home/console -maproot=root:wheel -network 192.168.100.0 -mask 255.255.255.0
# Public exports
/home/pcguest -mapall=nobody:nobody -ro -network 192.168.100.0 -mask
255.255.255.0
---cut---
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
---cut---
/dev/wd1e on /home type ffs (soft dependencies, NFS exported, local)
---cut---
When i run /etc/rc.d/mountd start i got the following error in syslog:
---cut---
Jul 7 18:04:23 NBSD1 mountd[10699]: "/home/pcguest -mapall", line 8: Can't
change attributes for /home/pcguest to 192.168.100.0: Operation not permitted
---cut---
Question is: why i cannot export several directories from the same root
directory with different access rights ?
// wbr