From owner-freebsd-jail@FreeBSD.ORG Sat Oct 4 19:04:36 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 151E910656A7 for ; Sat, 4 Oct 2008 19:04:36 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 92A4B8FC14 for ; Sat, 4 Oct 2008 19:04:35 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1548470fkk.11 for ; Sat, 04 Oct 2008 12:04:34 -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=PBMYBzeBHQvPKd3mwNqSzJl0mO1pZV25Rh3/emTWpoA=; b=oBsfQdPe4N/Dj7g7RUKyetYciFUlp1NuL0DRU7C8hwA+mGRIU5IibEveiNfD+XI/je /DcjSL4KF/OAkbyaWuU0UdZNGINrWHEBrJpk0UuU8mQCCIswBnblX9vmgv4mQEcTb2CN 9c2JdYO6FDOO29vFLXPS0nhGv7ih51Dl6P3Nc= 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=dvTj3AC8K7nLiQRPCevPtfYvx+MpIYk52Cwac86TwxQokg90ATJL66K4ws4wCnyt2P 7AjNiWUnF24NT3e3zQWZE09bYsrqYNU+yLDqLFGNaCJ+lgmnvQh1EcHDUguflyG/2qU8 K8iEJrf0iVGiNFxolVfQVtPXpEku2LDtp4bnA= Received: by 10.103.240.5 with SMTP id s5mr1635381mur.62.1223147073253; Sat, 04 Oct 2008 12:04:33 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:04:33 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:04:33 +0200 From: "Redd Vinylene" To: hartzell@alerce.com In-Reply-To: <18663.48601.45230.57747@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> 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 19:04:36 -0000 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"? -- http://www.home.no/reddvinylene