2

Yes can't get the garbage out from my Ubuntu 14.04 LTS ( Ubuntu 12 had issues too! ). So (I login as a user who has sudo rights):

1st try right click on Trash > Empty Trash ... > Empty Trash and this is what I get, without seeing my Trash getting empty:

enter image description here

2nd try open Trash can > Empty --> same as above

3rd try open Trash can > try to delete a single file inside and I get the following:

enter image description here

4th try sudo nautilus > select Trash from Places -->

enter image description here

5th try posted a question to ask ubuntu --> ? ( Thanks! )

pebox11
  • 537
  • 1
  • 4
  • 14
  • 1
    It is hard to know but you may have deleted files you do not own (perhaps owned by root?), http://askubuntu.com/questions/507173/cannot-remove-file-from-trash-that-was-put-there-as-root – Mark Kirby May 30 '16 at 11:23
  • 1
    Simple : $ rm .local/share/Trash/files/* .... – Knud Larsen May 30 '16 at 11:24

1 Answers1

1

For some reason file managers give an error when you access trash icon with sudo (caja and thunar do that also). Also there is a chance that trash permissions has changed (never run file managers and gui applications in general with sudo, use gksu or pkexec instead) and maybe that's why you can't empty trash with no sudo rights. In order to be sure, delete the folder ~/.local/share/Trash and it will be recreated empty on reboot (if you are sure there's nothing wrong with permissions just delete specific files in ~/.local/share/Trash/files folder).