Summary: | Baloo indexer doesn't follow symlinks | ||
---|---|---|---|
Product: | [Applications] Elisa | Reporter: | Luca Weiss <bugzilla> |
Component: | baloo | Assignee: | Matthieu Gallien <matthieu_gallien> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate |
Priority: | NOR | ||
Version First Reported In: | 0.4.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/elisa/f980f6e66eb7d3273e73f77cd520cdc4081c545c | Version Fixed In: | |
Sentry Crash Report: |
Description
Luca Weiss
2019-08-06 20:21:45 UTC
Git commit f980f6e66eb7d3273e73f77cd520cdc4081c545c by Alexander Stippich. Committed on 22/08/2019 at 18:11. Pushed by astippich into branch 'master'. Resolve symlink for file listener Summary: Always resolve symlink so that Baloo indexer works Related: bug 407918 Test Plan: remove actual music folder from search path delete old database create a symlink to your music folder add symlink as search path music is found with patch Reviewers: mgallien, ngraham Reviewed By: ngraham Tags: #elisa Differential Revision: https://phabricator.kde.org/D23240 M +10 -3 src/abstractfile/abstractfilelisting.cpp https://commits.kde.org/elisa/f980f6e66eb7d3273e73f77cd520cdc4081c545c So the fix is good when ~/Music is a symlink but this breaks when the root path is set to a subfolder of the symlink, so e.g. /home/luca/Music/ProleteR (where, when the symlink is resolved, it's /mnt/hdd/Music/ProleteR). This stackoverflow answers seems to cover this problem: https://stackoverflow.com/q/16294293/3527128 |