From owner-freebsd-questions Tue Jun 25 14:39:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.cics.co.za (mail.cics.co.za [196.15.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 6C4B937B400 for ; Tue, 25 Jun 2002 14:39:27 -0700 (PDT) Received: (qmail 5955 invoked by uid 85); 25 Jun 2002 21:42:51 -0000 Received: from unknown (HELO mark.igate.org.za) (196.15.196.5) by mail.cics.co.za with SMTP; 25 Jun 2002 21:42:49 -0000 Date: Tue, 25 Jun 2002 23:39:06 +0200 From: Mark Pearce To: Matthew Seaman Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How do I delete files used in a jail Message-Id: <20020625233906.200f88e8.mark@netchat.co.za> In-Reply-To: <20020625173944.GB15530@happy-idiot-talk.infracaninophi> References: <20020625180143.768902ff.mark@netchat.co.za> <20020625173944.GB15530@happy-idiot-talk.infracaninophi> Organization: Netchat X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > I am trying to delete some directories that I was using within a > > jail a while back. I try deleting and this is the errors I get: > > > > Any ideas why ? > > Perhaps the files have had the immutable flag set. Try: > > ls -loR jail > > to see what flags are set. > > chflags -R 0 jail > > should recursively remove all flag settings --- if you're running with > securelevel >0, then you'll have to reboot to single user mode to get > that to work. You chould then be able to rm -rf. This worked like a charm, Thanks Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message