On the server, this is one line in my [FILE]/etc/exports[/FILE]:
- Code: Select all
/ftp -ro -alldirs
[FILE]/ftp[/FILE] is a symlink to [FILE]/.nfs1/ftp[/FILE], which is mode 755. Under [FILE]/ftp[/FILE] is a partial FreeBSD distribution tree, today we want to mount this directory: [file]/ftp/pub/FreeBSD/releases/i386/8.2-RELEASE[/file]
That 8.2-RELEASE directory is empty, used as a mount point for a vnode configured to point at an ISO file. So, we do this:
[CMD=""]mount -t cd9660 /dev/`mdconfig -f /ftp/pub/FreeBSD/ISO/8.2-RELEASE-i386-disc1.iso` /ftp/pub/FreeBSD/releases/i386/8.2-RELEASE[/CMD]
The kicker is this: before I mount the vnode, my NFS client can cleanly mount the empty 8.2-RELEASE directory. After I mount the vnode, the client cannot mount it, and gets "Permission denied". I checked file modes on the server, and everyone has at least read access to everything involved here, and x on the directories.
What am I missing?