Ubuntu – “Move to trash” not working

16.04deletetrash

I just installed Ubuntu 16.04 LTS on my notebook (ASUS ZenBook UX303U).
Whenever I try to "Move to Trash" a file it appears a window asking «“MyFile” can't be put in the trash. Do you want to delete it immediately?».

Consider I already used Ubuntu 16.04 LTS for long in another partition of the same notebook, and it gave me no such problem.

I feel like it can be a permission problem, but I don't really know how to fix this!

Best Answer

The directory you need to look at is ~/.local/share/Trash.

You should be the owner of this directory and everything in it. If not, do sudo chown -R username:username ~/.local/share/Trash.

Its permissions, and those of all the directories in it, should be drwx------. If it isn't, do chmod -R 700 ~/.local/share/Trash.

Related Question