From owner-freebsd-questions Sun Sep 15 17: 2:51 2002 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 DE64837B400 for ; Sun, 15 Sep 2002 17:02:49 -0700 (PDT) Received: from ns2.austclear.com.au (ns2.austclear.com.au [192.43.185.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84AF843E42 for ; Sun, 15 Sep 2002 17:02:48 -0700 (PDT) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.166.65]) by ns2.austclear.com.au (8.11.2/8.11.3) with ESMTP id g8FNiTX26144; Mon, 16 Sep 2002 09:44:29 +1000 (EST) (envelope-from ahl@austclear.com.au) Received: from tungsten (tungsten [192.168.166.65]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id JAA29489; Mon, 16 Sep 2002 09:44:28 +1000 (EST) Message-Id: <200209152344.JAA29489@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Chip Wiegand Cc: Questions FreeBSD Subject: Re: Help! a directory won't go away even as root In-Reply-To: Message from Chip Wiegand of "15 Sep 2002 16:44:27 MST." <1032133467.216.2.camel@chip.wiegand.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Sep 2002 09:44:28 +1000 From: Tony Landells 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 chip@wiegand.org said: > I have a directory that I can't remove. It's empty and looks like > this: > dr-xr-xr-x 2 root wheel 512 Aug 14 12:18 empty > It's even called empty. Anyway, I can't rm -rf, I can't chmod, when I > try I get Operation not permitted, while logged on as root. I have to > get rid of this, I can't create a ln -s because this is messing it up. It almost certainly has the "immutable" flag set. try: chflags noschg empty and then try to remove it. Tony -- Tony Landells Principal Networks, Security & IT Systems Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message