Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 23:39:06 +0200
From:      Mark Pearce <mark@netchat.co.za>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

> 
> > 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




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