From owner-freebsd-questions@FreeBSD.ORG Thu May 19 00:29:17 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10A7C16A4CE for ; Thu, 19 May 2005 00:29:17 +0000 (GMT) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8AB743D1D for ; Thu, 19 May 2005 00:29:15 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: from falcon.midgard.homeip.net (212.181.162.201) by pne-smtpout1-sn2.hy.skanova.net (7.1.026.7) id 41E32167015A6006 for freebsd-questions@freebsd.org; Thu, 19 May 2005 02:29:04 +0200 Received: (qmail 7517 invoked by uid 1001); 19 May 2005 00:29:04 -0000 Date: Thu, 19 May 2005 02:29:04 +0200 From: Erik Trulsson To: FreeBSD questions mailing list Message-ID: <20050519002903.GA7489@falcon.midgard.homeip.net> Mail-Followup-To: FreeBSD questions mailing list , freebsd References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i cc: freebsd Subject: Re: Can't delete a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 00:29:17 -0000 On Thu, May 19, 2005 at 02:18:36AM +0200, FreeBSD questions mailing list wrote: > Hello, > i want to remove a jail from my system. > i deleted the folder it was installed into but there are some files > that i can't delete, for instance this one: > > -r-sr-xr-x 1 root wheel 18K Mar 26 06:58 rcp* > > i can't even delete it as root: > > # rm -rf rcp > rm: rcp: Operation not permitted > > can anyone tell me how to get rid of it? chflags noschg rcp rm -rf rcp Do a 'man chflags' for more information about the file flags. -- Erik Trulsson ertr1013@student.uu.se