You are not logged in.
Pages: 1
I have been doing some sorting out of files today and went to empty the Wastebasket only to find that 2 Folders and some of their contents were not deleted. When I tried to this from in the Wastebasket I keep getting a message saying I do not have permission to delete the files. Is there a way I can delete these files?
Last edited by Nocturnal_Deviant (2008-04-11 22:58:18)
Offline
cd ~/.Trash; sudo rm -rfv *
Offline
I tried that and got the following message:
[richard@richard-laptop ~]$ cd ~/.Trash; sudo rm -rfv *
bash: cd: /home/richard/.Trash: No such file or directory
bash: sudo: command not found
[richard@richard-laptop ~]$
Offline
You are lucky you haven't got sudo, or your whole current directory would have been recursively deleted.. If you seperate commands with ";" the second will be run even if the first fails, you should use "&&" instead. You should also look at commands before executing them..
For your problem, where is your wastebasket located? Which DE do you use? Try deleting the directories as root.
Last edited by Ramses de Norre (2008-04-11 22:30:29)
Offline
I am running Gnome 2.22 and I have looked for the location of the Wastebasket and couldn't find it. I realised that I should have looked at the commands first and it won't happen again.
Offline
That would be "~/.local/share/Trash/files/", delete the files you can't remove from their as root.
Offline
Thanks for that. Problem solved.
Offline
Pages: 1