[Bug 232021] zfs cannot mount 'dataset': Insufficient privileges
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 8 01:09:51 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232021
--- Comment #13 from Allan Jude <allanjude at FreeBSD.org> ---
(In reply to Oleg from comment #9)
The difference is that unmounting has only one input, the filesystem you wish
to unmount.
Mounting is more dangerous. Sure bob is allowed to mount zroot1/tst, but the
system call also allows them to mount zroot1/tst to /etc
Now a filesystem the user controls, contains the password file, and that user
is now root.
That is why the FreeBSD vfs.usermount feature implements a sanity check, bob
can only mount filesystems to directories they is the owner of.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list