Re: File impossible to delete
-----BEGIN PGP SIGNED MESSAGE-----
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!
>
> I just booted the rescue disk and ran `e2fsck -f' on the partition.
> After it fixed lots of stuff, including /root/Mail/drafts and files in
> /dev, I thought I'd be okay.
>
> After rebooting the file was still there, and still undeletable.
> What's worse, I looked at /dev and found unsavory things:
>
> c---r----- 1 11576 12589 115, 100 Oct 4 1997 MAKEDEV
> c---r----- 1 8224 12320 32, 32 Feb 11 1987 beep
> c---r----- 1 8224 8224 10, 48 Aug 2 1995 watchdog
>
> I can't delete those either, in order to restore them using dpkg.
Check out chattr, they may have the immutable (+i) bit set. Remove it and
you may be able to delete them.
- --
| In order to live freely and happily,
Scott K. Ellis | you must sacrifice boredom.
storm@gate.net | It is not always an easy sacrifice.
| -- Illusions
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
iQCVAwUBM+te8KCk2fENdzpVAQGqEwP+KIHwPPCaDIdP3yiszeC7vrQWzaba5vQc
RR6HpHOi3UhVU519Ic1+DQ3hsKDRpOeV6t1R1k6WruFkOePI6Sah3+me/nvCIK79
iDnffgPw6finSYvH7rPZ98H1kmXbwbvB4xAl/ij6XwpBBCFU/btNi+Xm4CfC+woD
UuMQ1tr2nCg=
=W63T
-----END PGP SIGNATURE-----
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: