From owner-freebsd-questions@FreeBSD.ORG Thu May 8 06:10:12 2003 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 0516D37B401 for ; Thu, 8 May 2003 06:10:12 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-4-115.w193-253.abo.wanadoo.fr [193.253.178.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2587243F75 for ; Thu, 8 May 2003 06:10:10 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h48DA33G010848; Thu, 8 May 2003 15:10:03 +0200 (CEST) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: dan@slightlystrange.org, freebsd-questions@freebsd.org Date: Thu, 8 May 2003 15:10:03 +0200 User-Agent: KMail/1.5.1 References: <200305081325.36007.ajacoutot@lphp.org> <20030508114401.GA73030@catflap.home.slightlystrange.org> In-Reply-To: <20030508114401.GA73030@catflap.home.slightlystrange.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305081510.03822.ajacoutot@lphp.org> Subject: Re: rm: Operation not permitted 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, 08 May 2003 13:10:12 -0000 On Thursday 08 May 2003 13:44, Daniel Bye wrote: > Try > # ls -lo /root/ERASE > You will probably see that the directory empty has the "schg" flag set. > This tells the kernel not to allow any alterations to flagged object. To > remove it, you will need to remove the flag - > # chflags -R noschg ERASE > will do the trick. You can then remove ERASE and its contents. It did indeed, thanks a lot. I'll have a look at man chflags :) Antoine