From owner-freebsd-questions Sun Oct 13 9: 7:28 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 C4F7A37B401 for ; Sun, 13 Oct 2002 09:07:26 -0700 (PDT) Received: from mail.dubium.com (h24-78-225-134.vn.shawcable.net [24.78.225.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB0543E97 for ; Sun, 13 Oct 2002 09:07:26 -0700 (PDT) (envelope-from joe-dated-1034957306.af6048@dubium.com) Received: (qmail 18344 invoked from network); 13 Oct 2002 16:08:26 -0000 Received: from localhost (HELO fafner.dubium.com) ([127.0.0.1]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 13 Oct 2002 16:08:26 -0000 Content-Type: text/plain; charset="iso-8859-1" To: freebsd-questions@FreeBSD.ORG, bjm1287@ritvax.isc.rit.edu Subject: Re: Slightly OT: How to remove an odd file... Date: Sun, 13 Oct 2002 09:08:00 -0700 X-Mailer: KMail [version 1.4] References: <005801c272d0$fab6c040$1500a8c0@dogbert> <3DA99893.3000304@attbi.com> In-Reply-To: <3DA99893.3000304@attbi.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200210130908.00910.joe@dubium.com> From: joe X-Delivery-Agent: TMDA/0.62 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 On October 13, 2002 09:00 am, paul wrote: > Brian McCann wrote: > > No go...here's the listing for the file...here's what happens... > > > > -rwsr-sr-x 1 root root 64924 Sep 2 15:24 > > > > rm " " > > rm: remove write-protected file ` '? y > > rm: cannot unlink ` ': Operation not permitted > > > > Any other ideas? > > I assume you did this as root/sudo? Strange that it's setuid . . . . http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-trouble.html Is the immutable flag set as root, try chflags noschg " " then delete -- ---------------------------------------- Joe ----------------------------------------- We have been silent witnesses of evil deeds... Will our inward power of resistance be strong enough for us to find our way back? - Dietrich Bonhoeffer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message