Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jun 2006 10:55:39 -0500
From:      "Jack Stone" <antennex@hotmail.com>
To:        petermatulis@yahoo.ca, freebsd-questions@freebsd.org
Subject:   Re: Cannot delete stubborn files
Message-ID:  <BAY106-F20DAD931A154CA8A20269CCC970@phx.gbl>
In-Reply-To: <20060604131709.40544.qmail@web60019.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: Peter <petermatulis@yahoo.ca>
>To: Jack Stone <antennex@hotmail.com>, freebsd-questions@freebsd.org
>Subject: Re: Cannot delete stubborn files
>Date: Sun, 4 Jun 2006 09:17:09 -0400 (EDT)
>
>
>--- Jack Stone <antennex@hotmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY106-F20DAD931A154CA8A20269CCC970>