Bug 487432 - Dolphin constantly auto-mounts subdirectories of fstab-mounted SMB network share
Summary: Dolphin constantly auto-mounts subdirectories of fstab-mounted SMB network share
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-23 15:41 UTC by z411
Modified: 2024-05-23 15:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Mountpoints in Dolphin (30.14 KB, image/png)
2024-05-23 15:41 UTC, z411
Details

Note You need to log in before you can comment on or make changes to this bug.
Description z411 2024-05-23 15:41:02 UTC
Created attachment 169741 [details]
Mountpoints in Dolphin

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

Hello, I hit a kind of weird issue where whenever I browse my fstab-mounted SMB network shares in Dolphin, it constantly auto-mounts subdirectories of the share for apparently no reason (it seems they're limited to linked directories like My Documents).

STEPS TO REPRODUCE
1. Mount SMB share of a Windows disk
2. Navigate to a directory with directory links
3. See Dolphin automount every subdirectory it can find as a separate mountpoint

OBSERVED RESULT
Dolphin auto-mounts every directory link as a separate mountpoint and I end up with a ridiculously large amount of mountpoints:

//mogu/blue                                   658G  429G  230G  66% /mnt/blue
//mogu/blue/Users/Default/Application Data    658G  429G  230G  66% /mnt/blue/Users/Default/Application Data
//mogu/blue/Users/z411/Application Data       658G  429G  230G  66% /mnt/blue/Users/z411/Application Data
//mogu/blue/Users/Default/Local Settings      658G  429G  230G  66% /mnt/blue/Users/Default/Local Settings
//mogu/blue/Users/z411/Local Settings         658G  429G  230G  66% /mnt/blue/Users/z411/Local Settings
//mogu/blue/Users/Default/My Documents        658G  429G  230G  66% /mnt/blue/Users/Default/My Documents
//mogu/blue/Users/z411/My Documents           658G  429G  230G  66% /mnt/blue/Users/z411/My Documents
//mogu/blue/Users/Default/NetHood             658G  429G  230G  66% /mnt/blue/Users/Default/NetHood
//mogu/blue/Users/z411/NetHood                658G  429G  230G  66% /mnt/blue/Users/z411/NetHood
//mogu/blue/Users/Default/PrintHood           658G  429G  230G  66% /mnt/blue/Users/Default/PrintHood
//mogu/blue/Users/z411/PrintHood              658G  429G  230G  66% /mnt/blue/Users/z411/PrintHood
//mogu/blue/Users/Default/Recent              658G  429G  230G  66% /mnt/blue/Users/Default/Recent
//mogu/blue/Users/z411/Recent                 658G  429G  230G  66% /mnt/blue/Users/z411/Recent
//mogu/blue/Users/Default/SendTo              658G  429G  230G  66% /mnt/blue/Users/Default/SendTo
//mogu/blue/Users/z411/SendTo                 658G  429G  230G  66% /mnt/blue/Users/z411/SendTo
//mogu/blue/Users/Default/Start Menu          658G  429G  230G  66% /mnt/blue/Users/Default/Start Menu
//mogu/blue/Users/z411/Start Menu             658G  429G  230G  66% /mnt/blue/Users/z411/Start Menu
//mogu/blue/Users/Default/Templates           658G  429G  230G  66% /mnt/blue/Users/Default/Templates
//mogu/blue/Users/z411/Templates              658G  429G  230G  66% /mnt/blue/Users/z411/Templates
//mogu/blue/Users/z411/Documents/My Music     658G  429G  230G  66% /mnt/blue/Users/z411/Documents/My Music
//mogu/blue/Users/z411/Documents/My Pictures  658G  429G  230G  66% /mnt/blue/Users/z411/Documents/My Pictures
//mogu/blue/Users/z411/Documents/My Videos    658G  429G  230G  66% /mnt/blue/Users/z411/Documents/My Videos

EXPECTED RESULT
I should be able to navigate to those directories without getting subdirectories automounted for seemingly no reason, like this:

//mogu/blue                                   658G  429G  230G  66% /mnt/blue

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.1-arch1-1 (64-bit)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Posted evidence as attachment, apparently it happens with linked directories made by Windows. I haven't seen it happen in other file managers nor the shell.