From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 13:17:13 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 2780616A41F for ; Sun, 4 Jun 2006 13:17:13 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60019.mail.yahoo.com (web60019.mail.yahoo.com [209.73.178.67]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E89E43D45 for ; Sun, 4 Jun 2006 13:17:10 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 40546 invoked by uid 60001); 4 Jun 2006 13:17:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Uihba0GrhrvguKpLqWRjEhMKwg80DwJ7WEhVyHPM5keDw8fvQK2jN6lf0XrbcEGvNnM2sGCkLG983GaOySAWEx2Dk7NKRP9l0tJ2OFU88USjQKm5jimok2YcTfYa+gxFSj/sEawQZTl3aKi7FEHjvdW1sGgiCLvbbaSFXr7Rra0= ; Message-ID: <20060604131709.40544.qmail@web60019.mail.yahoo.com> Received: from [64.228.184.49] by web60019.mail.yahoo.com via HTTP; Sun, 04 Jun 2006 09:17:09 EDT Date: Sun, 4 Jun 2006 09:17:09 -0400 (EDT) From: Peter To: Jack Stone , freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 13:17:13 -0000 --- 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com