From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 15:55:40 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 589F816A54E for ; Sun, 4 Jun 2006 15:55:40 +0000 (UTC) (envelope-from antennex@hotmail.com) Received: from hotmail.com (bay106-f20.bay106.hotmail.com [65.54.161.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4F6A43D49 for ; Sun, 4 Jun 2006 15:55:39 +0000 (GMT) (envelope-from antennex@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 Jun 2006 08:55:39 -0700 Message-ID: Received: from 65.54.161.200 by by106fd.bay106.hotmail.msn.com with HTTP; Sun, 04 Jun 2006 15:55:39 GMT X-Originating-IP: [65.68.247.73] X-Originating-Email: [antennex@hotmail.com] X-Sender: antennex@hotmail.com In-Reply-To: <20060604131709.40544.qmail@web60019.mail.yahoo.com> From: "Jack Stone" To: petermatulis@yahoo.ca, freebsd-questions@freebsd.org Date: Sun, 04 Jun 2006 10:55:39 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 04 Jun 2006 15:55:39.0494 (UTC) FILETIME=[53873060:01C687EF] Cc: 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 15:55:43 -0000 >From: Peter >To: Jack Stone , freebsd-questions@freebsd.org >Subject: Re: Cannot delete stubborn files >Date: Sun, 4 Jun 2006 09:17:09 -0400 (EDT) > > >--- Jack Stone wrote: > > > Hello: > > I have 2 files that resists all efforts to delete them. I can even > > move them > > to another directory, but still cannot delete. Can chmod too, but > > still same > > resistance; > > > > I originally figured they occupied a bad spot on the HD, but now not > > sure > > about that. > > > > Please, any suggestions about what to do to remove these files? > > > > 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 > > > > I've gone all the way down to the last dir and tried to delete them > > there. > > No joy! > > All directories in between only include the dirs and no files. I want > > to > > delete the entire path of directories, but those 2 stubborn files > > will not > > permit that. > > > > rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty > >Try: > ># rm -rf local/lib/perl5/5.6.1/mach/Sys > Peter: That's among the first thigs tried, at all levels -- no joy! The problem seems to be the *.pm files at the end of the path. Once they can be deleted, then all dirs should then go. THX Jack _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963