Roy Marples <roy%marples.name@localhost> wrote:
I have this in /etc/exports:
/usr/src -network 10.73.0.0 -mask 255.255.0.0 -maproot=nobody
/usr/xsrc -network 10.73.0.0 -mask 255.255.0.0 -maproot=nobody
/usr/pkgsrc -network 10.73.0.0 -mask 255.255.0.0 -maproot=nobody
/usr/obj.aarch64 -network 10.73.0.0 -mask 255.255.0.0
-maproot=nobody
/usr/obj.pkgsrc.aarch64 -network 10.73.0.0 -mask 255.255.0.0
-maproot=nobody
/var/bulk.aarch64 -network 10.73.0.0 -mask 255.255.0.0
-maproot=root
The last directory requires root writeable as it will be used for a chroot.
However, it doesn't show up in showmount -e on the host and trying to
mount it on the client prints:
mount_nfs: can't access /var/bulk.aarch64: Permission denied.
What did I do wrong here, or does root mapping just not work?
I also have the -alldirs option for the export on my NFS server. I don't
think I need this though as I just have src, xsrc and pkgsrc as top
level directories on one filesystem and use symbolic links on client
machines.