Date: Wed, 20 Sep 2017 21:32:31 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 214981] ZFS happily and silently remounts any existing mount on pool import (POLA violation and security issue!) Message-ID: <bug-214981-3630-RKAsz4V4la@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214981-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-214981-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214981 Steven Hartland <smh@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smh@FreeBSD.org --- Comment #5 from Steven Hartland <smh@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214981-3630-RKAsz4V4la>
