From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:27:15 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C79241065686; Sat, 4 Oct 2008 19:27:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id AE9048FC18; Sat, 4 Oct 2008 19:27:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id BE9F033C6C; Sat, 4 Oct 2008 12:03:10 -0700 (PDT) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 5CB2733C64; Sat, 4 Oct 2008 12:03:10 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18663.48601.45230.57747@almost.alerce.com> Date: Sat, 4 Oct 2008 12:02:49 -0700 To: "Redd Vinylene" In-Reply-To: References: <48E7B80F.8040602@gmail.com> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:27:15 -0000 Redd Vinylene writes: > On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene wrote: > > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: > >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: > >>> > >>> Are the jails stopped? > >>> > >>> > >> > >> Yes, they are. Sorry, I should have mentioned this. > >> > >> -- > >> http://www.home.no/reddvinylene > >> > > > > Should I just do like this? > > > > cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass > > cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn > > cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh > > [...] > > rm -rf /usr/jail > > > > -- > > http://www.home.no/reddvinylene > > > > My bad, that's not permitted either. If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see the schg flag set. Man chflags for more info and instructions on how to unset it g.