[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-server
Subject:    Re: need help with deleting file
From:       Edward Chase <echase () HOMER ! PROVIDENCE ! EDU>
Date:       1999-12-15 22:21:29
[Download RAW message or body]


This list is the best!

I had to go the "debugfs" route, but corrupt files are now now gone.

Thanks to all that responded.


At 02:10 PM 12/15/1999 -0500, Kurt Hockenbury wrote:
>
>You've got a corrupted file system.  Removing this file will not fix the
>underlying problem of whatever caused the corruption.  That said,
>
># lsattr graduate_5.gif
># chattr -ASacdisu graduate_5.gif
># rm graduate_5.gif
>
>If that's not the problem, and you're desperate, you can "ls -i" to get
>the inode #, umount the fs, and use debugfs's "clri" command, and then
>"e2fsck -f /dev/XXXX".
>
>-Kurt
>
>>On Wed, 15 Dec 1999, Edward Chase wrote:
>
>> One of my machines ran into drive problems last night.  Now I've got a file
>> that I can't delete or restore.
>>
>> -rw-r--r--   1 elkiebee elkiebee     8552 Aug 22  1998 graduate_4.jpg
>> c--x--srwx   1 30049    29349    251,  10 Mar 23  1943 graduate_5.gif
>> -rw-r--r--   1 elkiebee elkiebee     4552 Aug 22  1998 graduate_6.jpg
>>
>> [root@www images]# rm graduate_5.gif
>> rm: remove `graduate_5.gif'? y
>> rm: cannot unlink `graduate_5.gif': Operation not permitted
>>
>> Any ideas?

---------------------------------------------------------------
 Edward F. Chase III     |   echase@providence.edu
 Providence College      |   http://www.providence.edu
 Computer Services       |   http://studentweb.providence.edu
 Providence, RI  02918   |

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic