Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Sep 2002 19:43:09 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Chip Wiegand" <chip@wiegand.org>, "Questions FreeBSD" <questions@FreeBSD.ORG>
Subject:   Re: Help! a directory won't go away even as root
Message-ID:  <042301c25d11$a658f470$1200a8c0@gsicomp.on.ca>
References:  <1032133467.216.2.camel@chip.wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

'ls -alod empty' will most likely show a flag of 'schg'.  Do 'chflags noschg
empty' and then you should be able to rm -rf without problems.

--
Matt Emmerton


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?042301c25d11$a658f470$1200a8c0>