From owner-freebsd-questions Mon Aug 31 14:25:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04743 for freebsd-questions-outgoing; Mon, 31 Aug 1998 14:25:53 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA04483 for ; Mon, 31 Aug 1998 14:24:21 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 29789 invoked by uid 1003); 31 Aug 1998 21:17:20 -0000 Message-ID: <19980831231720.B25145@rucus.ru.ac.za> Date: Mon, 31 Aug 1998 23:17:20 +0200 From: Neil Blakey-Milner To: Anders Andersson , Anand Buddhdev , freebsd-questions@FreeBSD.ORG Subject: Re: rm dir, not empty? References: <009d01bdd4da$ef687000$4467a8c0@anders.sanyusan.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <009d01bdd4da$ef687000$4467a8c0@anders.sanyusan.se>; from Anders Andersson on Mon, Aug 31, 1998 at 02:29:01PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon 1998-08-31 (14:29), Anders Andersson wrote: > >> [root@enterprise /usr/obj/usr/src/gnu/lib]# rm -rf libgmp/ > >> rm: libgmp/: Directory not empty > > > >Try 'rm -rf libgmp' > > > > rm -rf libgmp gives me the same error: > > [root@enterprise /usr/obj/usr/src/gnu/lib]# rm -rf libgmp > rm: libgmp/: Directory not empty I tend to think that there are some immutable files somewhere down that directory. Try: chflags -R noschg libgmp && rm -rf libgmp Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message