Ubuntu: /var/www owned by my user, cant send files to trash



Question:

I changed ownership of /var/www to username:username since im using it only for development but when i try to delete something it wont send the files to the trash but asks me to permanently delete them.


Solution:1

PARTIAL SOLUTION

I tested here, and had the same problem.

You need to create a .Trash-1000(*) in the highest folder in this filesystem. In my case, it was /

so I ran sudo mkdir /.Trash-1000 and chown user:user /.Trash-1000. Nautilus no longer complains, and it sends the files to the Trash folder.

However ... They dont show up in my trash (via GUI). I just know they are there because I went and checked

(*) actually, its .Trash-UID , where the UID can be found using the command id


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »