deleting a file

Eberhard Roloff tuxebi at gmx.de
Wed Jan 9 18:00:03 UTC 2008


anthony baldwin wrote:
> Soo-Hyun Choi wrote:
>> accidentally, i have changed a file permission to 600 with root
>> privilege. since then, i cannot delete this file.
>>
>> [code]
>>
>> [soohyunc at server-01 /] $ sudo rm -f thisfile.a
>> [sudo] password for soohyunc:
>> rm: cannot remove `thisfile.a': Operation not permitted
>>
>> [/code]
>>
>> is there any way to delete this file from the system?
>> (i'm using gutsy 7.10)
>>
>> thanks,
>>
>>
>>
>>
>>   
> can you change the permissions again?
> 
> /tony
> 
You could boot with a Boot-CD, ex. Knoppix or Ubuntu, if all else fails.

Then mount the partition with the questionable file read/write and after
that (try to) delete it.

Kind regards
Eberhard





More information about the ubuntu-users mailing list