From owner-freebsd-questions Wed Mar 29 10: 8:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.whack.org (apogee.whack.org [216.186.243.163]) by hub.freebsd.org (Postfix) with ESMTP id EFBE437B937 for ; Wed, 29 Mar 2000 10:07:32 -0800 (PST) (envelope-from ryno@whack.org) Received: from mx1.whack.org ([216.186.243.182] ident=ryno) by mx1.whack.org with esmtp (Exim 3.13 #1) id 12aMgd-0004TG-00; Wed, 29 Mar 2000 09:55:23 -0800 Date: Wed, 29 Mar 2000 09:55:21 -0800 (PST) From: Ryan Moser To: =?iso-8859-1?q?Greg=20Quinlan?= Cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Corrupt /usr/obj/~ In-Reply-To: <20000329140537.1584.qmail@web1405.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you must first unset the immutable flags like this cd /usr/obj.corrupt chflags -R noschg * rm -rf * that should do it for you. Ryan On Wed, 29 Mar 2000, [iso-8859-1] Greg Quinlan wrote: > Hi All, > > I recently tried to do a "make buildworld" but it > failed. The problem was not with the latest cvsup, but > a corrupt /usr/obj set of files. > > I want to remove the directory "/usr/obj" and all the > files/sub-directories (as it has been corrupted) and > start again but; > > Some of the "lib" files can not be removed using "rm > -rf /usr/obj" because of an error message "Operation > not permitted" but I moved the directory. ie "mv > /usr/obj /usr/obj.corrupt"` > > After making the move I successfully did a "make > buildworld" > > But how do I remove "/usr/obj.corrupt"? > > > Greg > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message