From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 13:38:03 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 36E4816A474 for ; Sun, 4 Jun 2006 13:38:03 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABDD343D45 for ; Sun, 4 Jun 2006 13:38:01 +0000 (GMT) (envelope-from chris@monochrome.org) Received: from tripel (tripel [192.168.1.11]) by mail.monochrome.org (8.13.6/8.13.6) with ESMTP id k54DiEJd088164; Sun, 4 Jun 2006 09:44:14 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT) From: Chris Hill To: Jack Stone In-Reply-To: Message-ID: <20060604093513.X56404@tripel.monochrome.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 13:38:03 -0000 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 ** [ Busy Expunging <|> ]