On Mon, 17 Jan 2000, Peter S Galbraith wrote:

> 
> Ron Rademaker wrote:
> 
> > 
> > Last week I've send a mail about a weird file, that should be a directory
> > but it was a character device. (/usr/X11R6/include/X11/fonts). It also had
> > weird permissions:
> > 
> >     c---r-----   1 8224     10280     49, 117 Dec  1  2031 fonts
> > 
> > Now I'm trying to remove this file, the system won't allow me (yes
> > ofcourse I'm root). I've also tried rm -f.
> > I've tried to chown the 'file'/'character device' to root and a chmod, the
> > only thing I get to see is Operation not permitted.
> > 
> > Any suggestions???
> 
> >From my mailing list archive:
> 
>  To: [EMAIL PROTECTED] (Clint Adams)
>  cc: Debian User Mailing List <debian-user@lists.debian.org>
>  Subject: Re: File impossible to delete <Solved!> 
>  Date: Fri, 08 Aug 1997 15:20:49 -0400
>  From: Peter S Galbraith <[EMAIL PROTECTED]>
>   
>  This is one for the books!
>  
>  Clint Adams wrote:
>  
>  > > On Fri, 8 Aug 1997, Peter S Galbraith wrote:
>  > > 
>  > > > Somehow, I got a corrupted file on my system:
>  > > > 
>  > > >  bash-2.00# ls -l /root/Mail/
>  > > >  total 269488144
>  > > >  c---r----- 8240 8224     8224      32,  48 Aug  2  1995 drafts
>  > > > 
>  > > > I can't delete it!
>  > 
>  > You're going to need to use debugfs to get rid of it.
>  
>  This worked (with /dev/sda3 mounted as the root filesystem):
>  
>   debugfs -w -R "rm /root/Mail/drafts" /dev/sda3
>  
>  Thanks everybody!
>  --
>  Peter Galbraith, research scientist             <[EMAIL PROTECTED]>
>  Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada
>  P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada  418-775-0852 - FAX 418-775-0546
> 

It worked!!!!!@

Reply via email to