Cannot delete stubborn files

Kris Kennaway kris at obsecurity.org
Sun Jun 4 17:06:29 PDT 2006


On Sun, Jun 04, 2006 at 06:57:27PM -0500, Jack Stone wrote:
> >From: James Long <list at museum.rain.com>
> >To: freebsd-questions at freebsd.org, Jack Stone <antennex at hotmail.com>
> >Subject: Re: Cannot delete stubborn files
> >Date: Sun, 4 Jun 2006 14:57:52 -0700
> >
> >> Date: Sun, 04 Jun 2006 14:42:16 -0500
> >> From: "Jack Stone" <antennex at hotmail.com>
> >> Subject: Re: Cannot delete stubborn files
> >> To: rat.carvalho at gmail.com, freebsd-questions at freebsd.org
> >> Message-ID: <BAY106-F150E39CA3837EAAF0DE188CC970 at phx.gbl>
> >> Content-Type: text/plain; format=flowed
> >>
> >> >From: "Ricardo Carvalho" <rat.carvalho at gmail.com>
> >> >To: "Jack Stone" <antennex at hotmail.com>
> >> >Subject: Re: Cannot delete stubborn files
> >> >Date: Sun, 4 Jun 2006 15:39:05 -0300
> >> >
> >> >This occurred to me once, I simply booted the system in single user 
> >mode
> >> >and
> >> >removed the file.
> >> >
> >>
> >> Nope, that didn't work either..... really strangest undeletes I've ever
> >> encounted.
> >>
> >> THX
> >> Jack
> >
> >Have you posted the output of ls -lo (problem filename) ?
> >
> 
> I have not posted it, but here it is for the 2 files:
> dr1# ls -lo *.pm
> -rwxrwxrwx  1 root  wheel  - 5 Jun  4 13:58 Hostname.pm
> -rwxrwxrwx  1 root  wheel  - 0 Jun  6  2004 Syslog.pm
> 
> HTH....

Unmount (or drop to single-user mode) and fsck -f the drive to fix the
filesystem corruption.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060605/517b6dd8/attachment.pgp


More information about the freebsd-questions mailing list