Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 09:44:28 +1000
From:      Tony Landells <ahl@austclear.com.au>
To:        Chip Wiegand <chip@wiegand.org>
Cc:        Questions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: Help! a directory won't go away even as root 
Message-ID:  <200209152344.JAA29489@tungsten.austclear.com.au>
In-Reply-To: Message from Chip Wiegand <chip@wiegand.org>  of "15 Sep 2002 16:44:27 MST." <1032133467.216.2.camel@chip.wiegand.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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						<ahl@austclear.com.au>
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




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