GNOME Bugzilla – Bug 621112
Resources not deleted from store when files removed from removable media
Last modified: 2010-06-15 09:22:11 UTC
Tracker will only detect files being removed if actually monitoring the directories via inotify watches. If files are removed while tracker is not monitoring them, the re-check won't detect the deleted files. Steps to reproduce: * Tracker running, make sure IndexRemovableMedia=TRUE * Connect USB disk, tracker indexes contents * Eject USB disk, and connect to some other PC. * Remove files from the USB disk in the other PC * Eject from the other PC, connect again back to PC where tracker is running * Tracker re-indexes contents, but fails to detect if files were removed, so they will still be shown in search results. Same issue applies to partitions configured as locations to be indexed by tracker. So if you have IndexRecursiveDirectories=/opt and /opt is actually a partition which can be unmounted, you can unmount it, mount it in some other place, remove files, mount it again in /opt, and tracker won't notice the removed files.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.