From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 20:27:11 2008 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6A31065686 for ; Sat, 4 Oct 2008 20:27:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3844D8FC14 for ; Sat, 4 Oct 2008 20:27:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1573095fkk.11 for ; Sat, 04 Oct 2008 13:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zdjczz2OiKufU53GzrbWh7uyVKC1EJziLfijWyxYOJQ=; b=vDDzKlOpVUFNGH4GxvSLg0Q9UWWipREGunwOKTsN4xYDmzIqfgooQ2MRFutmEcYWBt /CYNAkICzy70sz5PzOBURFJ0avGY6NV7FRBaIVw7zRLF0UbxOvqiIiHeML6rgfGrt3iX pkN3GdHTUXxF+RDnEaRxPp8CluGY4QvVgFRCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=D1t6I0rmgl/hpAjZ64RXKrmYzKCWcrzZBlM6RTBpvizFq8z25Z6Zr/GZMMRZMWkOaY EK3C2D6QFy4HQn7DJcNfRD816D/vRRrbB0jqBr206z9Wme/PsRwZ+U3ybXeKqinzTG5t FUrMe8fYowTgBany0w/Y/oryxEUVwSE2fAuEE= Received: by 10.103.227.10 with SMTP id e10mr1681747mur.38.1223152029213; Sat, 04 Oct 2008 13:27:09 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 13:27:09 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 22:27:09 +0200 From: "Redd Vinylene" To: hartzell@alerce.com, peter.stosz@mentat.hu, wojtek@wojtek.tensor.gdynia.pl In-Reply-To: <18663.49808.808955.271579@almost.alerce.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 20:27:11 -0000 On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell wrote: > Redd Vinylene writes: > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > > > > > 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. > > > > > > > Yes: > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > and then "cp /usr/jail/box/usr/bin/chpass > > /home/jail/box/usr/bin/chpass"? > > I think that you ought to be able to cp it as is. You're just not > allowed to change the original (e.g. remove it), which is why your mv > and rm failed. > > g. > I've been told that changing flags might seriously mess things up. Is there any way to copy the remaining files from /usr/jail into /home/jail, or do I have to rebuild everything from scratch? Much obliged. -- http://www.home.no/reddvinylene