Messages in this thread | | | Date | Sun, 28 Sep 1997 20:26:58 -0400 (EDT) | From | Jon Lewis <> | Subject | Re: ext2 and unlink(2) |
| |
On Mon, 29 Sep 1997, Herbert Xu wrote:
> The following was observed with kernel 2.0.30 and e2fsprogs 1.10. Brian later > tried to do 'chattr -i' on those files but it failed as described in the 2nd > forwarded message. Brian still has these files around if anyone needs him to > do any testing.
> I have a few files on my disk were created by filesystems problems that I > am completely unable to get rid of. > > Here is what I tried to do first: > > dragon:/tmp/wcsmbs# ls -l > total 3982528256 > c--xrw-r-- 1 14464 35136 141, 0 Jun 17 1902 wcpcpy.o > b--sr-srwt 1 14951 14964 101, 100 Apr 10 2030 wcscat.d > br-xrws-w- 1 29791 29791 105, 116 Aug 19 2022 wcscat.o > br-sr-xr-T 1 29791 24420 116, 101 May 10 05:05 wcschr.d > br-xrw--w- 1 25710 13619 53, 51 May 5 2024 wcscmp.o > c--Srws--- 1 15160 59 49, 114 May 7 1999 wcsdup.d > dragon:/tmp/wcsmbs# rm -f * > rm: wcpcpy.o: Operation not permitted > rm: wcscat..d: Operation not permitted > rm: wcscat.o: Operation not permitted > rm: wcschr.d: Operation not permitted > rm: wcscmp.o: Operation not permitted > rm: wcsdup.d: Operation not permitted
This has come up several times recently...it seems as though some recent change in e2fsck must be doing things very differently to produce this sort of problem. I think I remember reading that the only solution is to umount the partition in question and use ext2ed on it to delete the files. I have similar trash in /home/lost+found on one of my systems and have not gotten around to trying the above yet.
[root@tarkin ext2ed-0.1-8]# ls -l /home/lost+found/ total 2143130000 ?r--r-S--T 1 17481 28706 574441556 May 6 2008 #65475 c--xr-xrwx 1 12092 24947 99, 46 Jan 9 2026 #65476 br-xr-s--- 1 28769 26727 79, 70 Jul 21 2027 #65477 ?r-srwS--- 1 25866 29538 1869508451 Jan 19 2026 #65478 c--x-w--wx 1 20300 15370 62, 73 Aug 18 2012 #65480 ?r-S--s-w- 1 15370 28015 1128021584 Nov 8 2006 #65484 c---rw--wt 1 18464 21588 70, 69 Aug 14 2011 #65486 cr--r---wT 1 26214 15952 84, 78 Mar 4 2012 #65487 c--xr-xrwx 1 8289 29554 112, 112 Mar 28 1987 #65488 ?---rw---- 1 13360 11588 1394614832 Jun 3 2000 #65491 cr-Srwsr-T 1 20294 8272 71, 77 Jan 15 1977 #65492 ?--x-w-r-t 1 8261 21582 1293960783 Mar 19 2005 #65493 br-xrwSr-- 1 8307 26978 119, 32 Dec 7 2023 #65496 ?r-Srwsrw- 1 15370 16956 1111577647 Dec 6 1976 #65497
------------------------------------------------------------------ Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will Network Administrator | be proof-read for $199/message. Florida Digital Turnpike | ______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____
| |