Bug 147387

Summary: Kfind does not follow/search in symlinked sub directory
Product: [Applications] kfind Reporter: Rajen <rajen.parekh>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rajen 2007-06-30 06:43:22 UTC
Version:           2.0 (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
OS:                Linux

Kfind will not follow symlinked sub-directories when "include subfolders" is checked. If I am searching in directory /some/path/to/foo and if directory "foo" contains symlinked directory "bar", then kfind will not look into "bar" for the search argument.  

Kfind does not even have any option to specify that symlinked directories are to be followed for searching the search argument. "GNU find" utility has an option "-L" to specify that search should to follow

From the GNU find man-page:
-L     Follow symbolic links. 

Kfind seems to either missing this feature or probably there is a bug. 

Example: 

Directory :  /opt/kde/share/icons

Sub directories inside the above directory (not symlinked) : crystalsuse, crystalsvg, hicolor, ikons, kdeclassic, locolor, .... and so on.

Sub directories inside the above directory (symlinked) :   Aqua_Project,    BlueSphere,    OS-K , noia,  Cezanne,  Scriptures,   nuoveXT-kde-1.6,  Crystal-Clear,  SnowIsh-1.3,   nuvoX-0.3, Exquisite,  .... and so on.

Now when I try searching for some file, say foobar.png, in /opt/kde/share/icons with the "include sub-folders" option checked in Kfind, then Kfind searches only actual directories but does not follow the symlinked directories in its search. There is no option to tell kfind to follow symlinked directories.

Solution ??


Rajen.