PDA

View Full Version : [ubuntu] cannot delete folder from trash



Matt26
August 11th, 2008, 11:26 AM
is there a way that i can delete a folder from my trash when it won't delete normally? whenever i try to remove the folder i get an error message about not having appropriate permissions to delete the folder- any ideas? thanks.

Ryadt
August 11th, 2008, 11:27 AM
Try
gksudo nautilusthen go in trash and delete the file.

ukripper
August 11th, 2008, 11:29 AM
is there a way that i can delete a folder from my trash when it won't delete normally? whenever i try to remove the folder i get an error message about not having appropriate permissions to delete the folder- any ideas? thanks.

in terminal type:

sudo chown -R yourusername:yourusername ~/.trash/foldername

replace yourusername and foldername(you want to delete)

and then go to trash and delete

Vivaldi Gloria
August 11th, 2008, 11:57 AM
in terminal type:

sudo chown -R yourusername:yourusername ~/.trash/foldername


Trash is in


/home/<your_username>/.local/share/Trash

now.

Matt26,

Delete the things in the above folder folder. Sometimes a restart fixes things.

If you have more than one disk drive then goto their mount points and also delete the .trash* folders.

Note that the files that start with a dot are hidden and you need to press ctrl+H in nautilus to see them.

issih
August 11th, 2008, 12:08 PM
The above answers are both good ways to get the problem fixed... In the future be careful to use gksudo when running console apps not sudo, its the most common way to end up with this problem :)

Hope that helps

Matt26
August 11th, 2008, 12:18 PM
thanks for all the suggestions, i will try one of those..