Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Oct 2004 19:39:32 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Protection from the dreaded "rm -fr /"
Message-ID:  <20041003.193932.78732524.imp@bsdimp.com>
In-Reply-To: <xzpmzz3a6dj.fsf@dwp.des.no>
References:  <20041003030946.GV35869@seekingfire.com> <20041003.113739.95785967.imp@bsdimp.com> <xzpmzz3a6dj.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <xzpmzz3a6dj.fsf@dwp.des.no>
            des@des.no (Dag-Erling Sm=F8rgrav) writes:
: "M. Warner Losh" <imp@bsdimp.com> writes:
: > rm doesn't have to live in the chroot.  Consider
: > 	chroot /some/path/to/a/chroot rm -rf /
: > in this case, everything under the /some/path/to/a/chroot would be
: > removed.  However, the rm that's running is outside of the chroot.
: =

: Wrong, and I'd be interested to hear how you think chroot(8) would
: pull that off if it were the case.

I was confused.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041003.193932.78732524.imp>