After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 464753 - trash-entry-cache becomes corrupted
trash-entry-cache becomes corrupted
Status: RESOLVED DUPLICATE of bug 420581
Product: gnome-vfs
Classification: Deprecated
Component: Other
2.18.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-08 16:29 UTC by mannheim89
Modified: 2007-08-08 16:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description mannheim89 2007-08-08 16:29:45 UTC
Please describe the problem:
Recently, I opened the gnome trash applet and saw that the contents of the trash were displayed as if the whole root filesystem was in the trash (which it wasn't). That is, the folder list-view displayed by the trash applet included the folders "bin", "boot", "cdrom" (a link), "dev" and so on. Opening these folders revealed that they behaved as links to the real live filesystem. Logging out and logging back in didn't fix it.

It seemed to be caused by a corrupt file .gnome/gnome-vfs/.trash-entry-cache. The last line of the file was "/dev/shm /". I logged out and then edited this file, changing the last line to "/dev/shm -", and the problem went away. I don't know what caused the corruption in the first place.

Steps to reproduce:
1. Use gnome for a couple of years, until corruption occurs; or as a shortcut, deliberately corrupt .gnome/gnome-vfs/.trash-entry-cache by putting a line at the end something like "/dev/shm /"
2. Open the Trash applet



Actual results:
The Trash applet shows that the trash "contains" the root filesystem.

Expected results:
The Trash applet should show only the items really in the trash.

Does this happen every time?
Yes

Other information:
The same problem was reported by another user on the Ubuntu forums. That posting led me to .trash-entry-cache.
Comment 1 Sebastien Bacher 2007-08-08 16:56:29 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 420581 ***