[Bug 214981] ZFS happily and silently remounts any existing mount on pool import (POLA violation and security issue!)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 20 21:32:32 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214981
Steven Hartland <smh at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smh at FreeBSD.org
--- Comment #5 from Steven Hartland <smh at FreeBSD.org> ---
I think the option your looking for is the canmount property.
At the end of the day there are loads of ways to break things from rm -rf or
zfs destroy to pulling out a physical disk.
ZFS is a very powerful tool and it rightly assumes you know what your doing.
Ensuring you’re aware of how receiving streams work and that unless told
otherwise you want the file systems mounted is just part of your responsibility
when you have that power.
Have I shot myself in the foot by receiving a stream without disabling mount,
yes I have, do I believe ZFS should have prevented me from doing something so
stupid absolutely not.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list