From owner-freebsd-questions Sun Sep 15 16:43:37 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 A1F4F37B400 for ; Sun, 15 Sep 2002 16:43:36 -0700 (PDT) Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D342B43E65 for ; Sun, 15 Sep 2002 16:43:11 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.177.86]) by tomts6-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020915234311.GZEQ12912.tomts6-srv.bellnexxia.net@xena.gsicomp.on.ca>; Sun, 15 Sep 2002 19:43:11 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g8FMTJX97508; Sun, 15 Sep 2002 18:29:20 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <042301c25d11$a658f470$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Chip Wiegand" , "Questions FreeBSD" References: <1032133467.216.2.camel@chip.wiegand.org> Subject: Re: Help! a directory won't go away even as root Date: Sun, 15 Sep 2002 19:43:09 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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 > 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