User's trash window in nautilus suddenly includes /var/run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: nautilus
I had a weird thing happening that I cannot explain, I just can describe what I see. I am willing to investigate further if you can ask for more specific info.
My computer was running Edgy as of this morning, but was upgraded to Feisty just now; the issue still persists as described below:
During a vacation my computer was on, but just sat there for a few days. To my knowledge nobody touched it (and nobody was in the apartment I hope). Nothing special was running, just Gnome, NetworkManager, Evolution, Gaim, Firefox, and gtk-gnutella. Upon return I saw that my user's Trash icon was showing "full" and wanted to empty it. However, nothing happened; it stayed full.
Figuring that there was a permission problem (known issue with being unable to delete root-owned files from user's Trash), I looked into the Trash and found that it included a complete set of the files and directories that live in /var/run. I have no clue why those files suddenly show up in the Trash. See the attached screenshot example.
If I try to delete the files by rightclicking them inside the Trash, I get, e.g., "Error while deleting. "/var/run/
If I carefully delete the files from /var/run, they disappear from the user's Trash too.
If I "sudo touch /var/run/testfile", the file immediately shows up in the user's Trash.
I have only 2 users on this machine, and therefore I have only 2 .Trash direcories:
sudo find / -name ".Trash"
/home/user1/.Trash
/home/user2/.Trash
But they don't contain the files:
sudo ls -la /home/{
/home/user2/.Trash:
total 8
drwx------ 2 user2 user1 4096 2006-11-04 18:26 .
drwxr-xr-x 16 user2 user1 4096 2006-12-20 19:37 ..
/home/user1/.Trash:
total 12
drwx------ 2 user1 user1 8192 2007-03-05 20:48 .
drwxr-xr-x 53 user1 user1 4096 2007-03-05 20:34 ..
In the process of finishing the Feisty upgrade I logged in an out a few times, and I put a few files into the trash. Now the issue has changed somewhat:
* /var/run is still visible in the nautilus trash window
* By own trash files are also there, plus they are in ~/.Trash as they are supposed to
* The trash icon nevertheless shows "empty", and the "empty trash" context menu entry is grayed out