From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 16:53:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AA89D16A80B for ; Sun, 4 Jun 2006 16:53:09 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F86743D98 for ; Sun, 4 Jun 2006 16:53:05 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 13582 invoked from network); 4 Jun 2006 16:53:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jun 2006 16:53:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 83C592842A; Sun, 4 Jun 2006 12:53:03 -0400 (EDT) To: "Jack Stone" References: From: Lowell Gilbert Date: Sun, 04 Jun 2006 12:53:03 -0400 In-Reply-To: (Jack Stone's message of "Sun, 04 Jun 2006 10:57:00 -0500") Message-ID: <447j3wzwuo.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Cannot delete stubborn files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 16:53:12 -0000 "Jack Stone" writes: >>From: Chris Hill >>To: Jack Stone >>CC: freebsd-questions@freebsd.org >>Subject: Re: Cannot delete stubborn files >>Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT) >> >>On Sun, 4 Jun 2006, Jack Stone wrote: >> >>>I have 2 files that resists all efforts to delete them. >> >>[...] >> >>>Here are the files and the error message: >>>rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted >>>rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted >> >>Make sure the files do not have the system immutable flag set: >> >># chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm >># chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm >> >> ...and then see if you can't delete them. I don't know why the flag >> would be set, but it's something to try. >> >>HTH. >> >>-- >>Chris Hill chris@monochrome.org > > Chris: Tried that at the very first. No joy! There are other flags. Use "ls -lo" to see if any are set, rather trying to reset them and then retrying the delete command.