https://bugs.kde.org/show_bug.cgi?id=399885

            Bug ID: 399885
           Summary: NTFS mount point appears in excludeFolders list and
                    cannot be removed
           Product: frameworks-baloo
           Version: 5.51.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: balooctl
          Assignee: baloo-bugs-n...@kde.org
          Reporter: s_chriscoll...@hotmail.com
  Target Milestone: ---

SUMMARY
I have two NTFS partitions mounted in my home folder via the following lines in
/etc/fstab:
UUID=10156E860DB794A2 /home/chris/Personal ntfs-3g
defaults,auto,noatime,big_writes,uid=1000,gid=1000,umask=022,windows_names,locale=en_US.utf8
0 0
UUID=0F14CDF22D70C77E /home/chris/Storage ntfs-3g
defaults,auto,noatime,big_writes,uid=1000,gid=1000,umask=022,windows_names,locale=en_US.utf8
0 0

Both of these locations appear in "System Settings" -> "Search" -> "File
Search" -> "Do not search in these locations". If I remove the folders from the
list then close and restart System Settings, they are back in the list.

~/.config/baloofilerc contains no reference to either folder (there is no
"exclude folders[$e]=" line) and ~/.config/baloorc doesn't exist.

STEPS TO REPRODUCE
1. I assume that meeting conditions similar to the above description will cause
the issue for others as well, but I don't have a similar setup on any other PC
to test this with.

OBSERVED RESULT
NTFS mount points appear in excludeFolders and can't be removed.

EXPECTED RESULT
NTFS folders are indexed.

SOFTWARE VERSIONS
KDE Plasma Version: 5.14.0
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
If I try to remove one of the folders using "balooctl config remove
excludeFolders '/home/chris/Personal'", two things happen:
1. "baloorc" is created containing "exclude folders[$e]=$HOME/Storage" under
"[General]"
2. "baloofilerc" is updated adding "exclude folders[$e]=$HOME/Storage" under
"[General]"

Running "balooctl config list excludeFolders" now shows:
/home/chris/Personal
/home/chris/Storage
/home/chris/Storage

If I run "balooctl config remove excludeFolders '/home/chris/Personal'" a
second time, both "baloorc" and "baloofilerc" now show "exclude
folders[$e]=$HOME/Storage,$HOME/Storage"

Running "balooctl config list excludeFolders" now shows:
/home/chris/Personal
/home/chris/Storage
/home/chris/Storage
/home/chris/Storage

If I now run "balooctl config remove excludeFolders '/home/chris/Storage'",
both "baloorc" and "baloofilerc" now show "exclude folders[$e]=$HOME/Personal"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to