Subject: Re: RPC/mountd problems
To: None <tech-net@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 07/07/2004 11:58:18
> I want to export /home/pcguest as read only and /home/<project> as
> read/write for some network.  /home resided on dedicated partition
[...]
> Question is: why i cannot export several directories from the same
> root directory with different access rights ?

Because the NetBSD implementation doesn't support it.  Access checking
is per-mountpoint on the server; you simply can't get different access
properties for different directory trees within the same server-side
mount point.

In principle this may be fixable, but it would be extremely difficult
(and probably computationally expensive) to get right - consider the
case where a directory is rename(2)ed from one sub-tree to another,
while a client has filehandles for objects under that directory.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B