Bug 306342

Summary: Nepomuk indexer does not resolve symlinks before checking against selected directories
Product: nepomuk Reporter: Szczepan Hołyszewski <rulatir>
Component: fileindexerAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED FIXED    
Severity: major CC: jjm, me
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 045a34fc05d5f73d87b61029a68782f39d5c94e8

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.