Bug 477367 - mounted samba directory breaks if first opened from portal
Summary: mounted samba directory breaks if first opened from portal
Status: RESOLVED NOT A BUG
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: git-stable-Plasma/5.27
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 12:59 UTC by dansity
Modified: 2023-11-30 06:49 UTC (History)
3 users (show)

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


Attachments
Screenshot of the broken directory (31.04 KB, image/png)
2023-11-22 12:59 UTC, dansity
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dansity 2023-11-22 12:59:56 UTC
Created attachment 163362 [details]
Screenshot of the broken directory

SUMMARY
***
I have an smb share mounted with cifs.
//192.168.1.200/Private                     /mnt/Private    cifs   credentials=/home/daninet/.smbcredentials,uid=1000,gid=1000,vers=3.0,nounix,_netdev   0 0

When I boot into linux and open doplphin I can navigate to /mnt/Private and see the files.
However if I boot into linux and my first interaction with this mount is through the portal to save a file the mounted directory breaks and I'm no longer able to navigate to /mnt/Private. I can still navigate to a subfolder for example /mnt/Private/Documents
The directory becomes a file with no extension. I have to umount and mount -a to be able to access the mount path again.
***

STEPS TO REPRODUCE
1. Mount an smb share with cifs
2. Reboot and make your first interaction with the network share via portal (not dolphin). For example try to save a file there.

OBSERVED RESULT
You will be able to navigate to the subdirectories but not the mount directory


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-11-29 19:51:13 UTC
Can you share a screenshot of the entire portal window, not just a part of it? I ask because I can't tell if that's a GNOME open dialog or a heavily-themed KDE open dialog.
Comment 2 dansity 2023-11-30 06:49:47 UTC
I figured out the issue must be fstab timeouting smb shares. I don't have this problem with autofs.