From owner-freebsd-questions Wed Nov 18 21:18:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA10668 for freebsd-questions-outgoing; Wed, 18 Nov 1998 21:18:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt1-246.HiWAAY.net [208.147.147.246]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA10660 for ; Wed, 18 Nov 1998 21:18:53 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id TAA02673 for ; Wed, 18 Nov 1998 19:16:06 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199811190116.TAA02673@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: Trying to delete /usr/obj, but _she_ won't let me :-( In-reply-to: Message from David Langford of "Tue, 17 Nov 1998 12:37:00 -1000." <199811172237.MAA17293@kauai.pacificglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Wed, 18 Nov 1998 19:16:06 -0600 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id VAA10664 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Langford writes: > Pål Sommerhein > >I did > > # rm -rf /usr/obj > >but I got 'permissioned denied messages' for these three files: > >(a recursive listing is provided at the end of the mail) > > > >May I delete these files? And if so, how do I proceed? > > # rm -fr /usr/obj/* > # chflags -R noschg /usr/obj > # rm -fr /usr/obj/* Thought I'd chime in and say the above is the same order I do it too. There is no point in traversing the entire huge directory tree trying to chflags files that don't need it. Just grin and bear the messages the first "rm -rf" generates, or "rm -rf /usr/obj/* >& /dev/null". After the first "rm -rf" the chflags and second "rm -rf" go very quickly. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message