[Bug 260894] Nonexportable file systems are usable over NFSv4

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Jan 2022 17:06:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260894

--- Comment #2 from Alan Somers <asomers@FreeBSD.org> ---
Yes, I can write via NFS to the file system in /mnt, even though it isn't
supposed to be exported.  I can also do that even if the V4: line is set to
/mnt.

However, if I try to mount a file system that's under the V4 root but isn't
configured in /etc/exports at all, for example /var/tmp, then the client indeed
can't browse it.  df works, but ls does not.  So I don't think there's a
general "nfsv4 exports everything" bug, just a specific bug for file systems
that fial VFS_MOUNT.

-- 
You are receiving this mail because:
You are the assignee for the bug.