0

How can I delete files inside the trash folder I have not sufficient access rights for? It shouldn't be important for my question, but I'm using Gnome and can't delete in nautilus and don't know where the trash is located in the cmd. I'm using my ordinary Ubuntu-account.

enter image description here

1
  • not much to go on here... is it your profiles Trashbin ? another users ? Window manger? e.g. Gnome?, KDE?, XFCE?, etc... File manager abilities would be dictated by the above information. or, if there is another standalone File manager is installed. but basically... login as root. browse to the users Trashbin. delete permanently(should be a right-click option) personally. i don't use the trashbins, or, recyclers. i figure i'm getting rid of it... so..... – j.Paradise Aug 31 '15 at 20:28
1

I have no idea about how you managed to get those folders in your user's trash folder without moving them there on purpose, however: your user's trash folder is located in ~/.local/share;

You may manually empty the trash just by removing the whole folder (it will be recreated when a new file / folder is moved to the trash):

sudo rm -rf ~/.local/share/Trash
2
  • This worked. FYI: I just moved them into the trash in nautilus. – empedokles Sep 1 '15 at 14:47
  • @empedokles What I don't understand is that you shouldn't have been able to move folders owned by root regardless. The only way would be to do it from a nautilus root instance, but in that case the folders would have been moved to root's trash in /root/.local/share/Trash. Indeed I'm missing something here. However glad that it worked – kos Sep 1 '15 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.