How to Empty Trash if files in there are owned by Root?

Jim Smith jim at oz.net
Fri Oct 17 00:44:23 UTC 2008


Jim Smith wrote:
> Ulin the Tech Mage wrote:
>   
>> Kipton Moravec wrote:
>>   
>>     
>>> I was running out of disk space and discovered I had a bunch of files in
>>> Trash.
>>>
>>> So I tried to empty trash and found there were a number of files in
>>> there that were owned by root, because of a screw-up I did when I
>>> installed a program a while back.
>>>
>>> There are other files that are owned by me that will not delete because
>>> they have the wrong permissions, but it will not let me change the
>>> permissions.
>>>
>>> >From the GUI I do not know how to remove them. 
>>>
>>> I did a search on the name to see if I could find the path to the Trash
>>> directory and these files did not show up. 
>>>
>>> What do I do?
>>>
>>>
>>>   
>>>     
>>>       
>> open a terminal
>> run the following commands:
>> cd ~.trash
>> sudo chmod -R 777 *
>> rm -rf *
>> exit
>>
>>
>>
>>
>>     
> I just tried that with this result:
>
> jim at JimsBook:~$ cd ~.trash
> bash: cd: ~.trash: No such file or directory
>
> I have the same problem for the same reason.
>
> Jim
>
>   
Should have read further, the adjusted procedure worked fine.

Thank you
Jim

-- 
Its only a hobby, only a hobby, only a hobby, only a ho............





More information about the ubuntu-users mailing list