Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jun 2006 14:44:29 -0500
From:      "Jack Stone" <antennex@hotmail.com>
To:        freebsd-questions-local@be-well.ilk.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot delete stubborn files
Message-ID:  <BAY106-F8AA5215CF111BFA0B7111CC970@phx.gbl>
In-Reply-To: <447j3wzwuo.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
>To: "Jack Stone" <antennex@hotmail.com>
>CC: freebsd-questions@freebsd.org
>Subject: Re: Cannot delete stubborn files
>Date: Sun, 04 Jun 2006 12:53:03 -0400
>
>"Jack Stone" <antennex@hotmail.com> writes:
>
> >>From: Chris Hill <chris@monochrome.org>
> >>To: Jack Stone <antennex@hotmail.com>
> >>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.

Indeed, tried that early on and see no flags set at all.

THX
Jack

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement




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