[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: cleaning up lost+found



On 26-Jul-2000 Olaf Meeuwissen wrote:
> Debians,
> 
> I goofed up a little while ago and connected two SCSI devices with the
> same ID.  I've cleaned up the mess, but now I have a number of files
> in /home/lost+found that I can't seems to remove.  Not even as root!
> 
> Typical output of ls -l on that directory looks like:
> 
>   b--s----wx    1 49439    5209     172,  30 Jan 21  1978 #53340
>   brws-wxr--    1 24240    453       38,  90 Jul  7  1924 #53353
>   b--s---r-x    1 11001    2127     185, 124 Jun 12  1945 #53354
>   s-ws--s-wx    1 59857    23392    4294967295 Mar 22  1991 #53364
>   c-w--w----    1 55518    35812     72,  84 Jan  2  1970 #53375
>   c--Srwxr--    1 42739    61328    117,  78 Oct  1  1922 #53402
>   s-wSrws--t    1 2688     55369    4294967295 Nov 26  1973 #53422
>   c-----x-w-    1 15392    29539    115,  99 Sep 10  2028 #53443
>   br-Sr-Sr-x    1 14373    8224     116, 104 Feb 11  1995 #53445
>   c---r-----    1 24892    27504     32, 102 Aug 26  2027 #53448
>   c-----x-w-    1 15392    29539    115,  99 Sep 10  2028 #53475
>   c--xrwS---    1 9285     9533      36,  87 Apr  8  1989 #53479
> 
> Totally weird, that is.  I've moved the original and created a new
> lost+found with the same owner.group and permissions as the original
> but would like to get rid of the gunk above.  Any ideas how?
> 
> I've tried chown'ing and chmod'ing, but all I get is
> 
>   chown: <filename>: Operation not permitted
> 
> Trying to rm -rf gives
> 
>   rm: cannot unlink `<filename>': Operation not permitted

They probably have the immutable attribute set. Remove it with chattr.



Reply to: