Bug 306342 - Nepomuk indexer does not resolve symlinks before checking against selected directories
Summary: Nepomuk indexer does not resolve symlinks before checking against selected di...
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: fileindexer (show other bugs)
Version: 4.9
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 13:14 UTC by Szczepan Hołyszewski
Modified: 2012-12-30 18:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 045a34fc05d5f73d87b61029a68782f39d5c94e8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szczepan Hołyszewski 2012-09-06 13:14:01 UTC
Nepomuk indexer probably does not normalize paths wrt. directory symlinks before checking the paths against the configured set of directories to index (and possibly against directories already indexed -> infinite recursion potential -> severity major).


Reproducible: Always

Steps to Reproduce:
1. Create a symlink to / in your home directory
2. Enable indexing on the symlink
Actual Results:  
Didn't conduct thorough testing, but probably whole system is indexed. At the very least, it appears that files are indexed again, growing the index unnecessarily. What is certain is that when I hover over the nepomuk icon in the systray, the tooltip shows nepomuk grinding on paths that go through the symlink and end in places like /home/user/symlink/tmp.


Wine creates a symlink to / under ~/.wine.

NOTE WELL about KDE version: it is actually 4.9.1, not 4.9. As usual, the version list lags behind releases.