Bug 510902

Summary: Internal error: [11] Resource temporarily unavailable
Product: [Frameworks and Libraries] kio-extras Reporter: clemens.brunner
Component: SambaAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dolphin-bugs-null, meven, sitter
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description clemens.brunner 2025-10-22 04:58:45 UTC
When trying to access a subdirectory of a valid Samba share via Dolphin (e.g., smb://server/share/subdir/deepdir), the following error appears:

Internal Error - Unknown error condition: [11] Resource temporarily unavailable

The top-level share and its immediate subdirectory are accessible, but going one level deeper triggers the error. However, the same path works with GNOME Nautilus and smbclient (i.e., smbclient //server/share -U username; cd subdir/deepdir works), so this is definitely a bug with Dolphin.

I'm not sure if this is relevant, but the server is part of an Active Directory domain and likely uses DFS. Dolphin seems to treat deep paths as new tree connects or mishandles DFS referrals.

OS: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Comment 1 clemens.brunner 2025-10-22 05:08:27 UTC
Not sure if this is relevant, but as I said, I'm starting at smb://server/share, which works fine. The next directory smb://server/share/subdir also works fine, but it contains a lot of subdirectories which I don't have access to, so I'm getting dozens of the following messages:

kf.kio.workers.smb: QUrl("smb://user@server/share/subdir/deepdir")
kf.kio.workers.smb: checkURL  QUrl("smb://user@server/share/subdir/deepdir")
kf.kio.workers.smb: checkURL return3  QUrl("smb://user@server/share/subdir/deepdir")
kf.kio.workers.smb: updateCache  "/share/subdir/deepdir"
session setup failed: NT_STATUS_LOGON_FAILURE
Couldn't resolve \subdir\deepdir
kf.kio.workers.smb: size  0

I think this is expected since I don't have access to most of these folders (somedir), I only have access to deepdir. However, I get the same error messages for the directory I do have access to, so my guess is that Dolphin cannot properly resolve the ressource (i.e., follow the DFS link).
Comment 2 Méven 2025-10-23 15:16:36 UTC
The description seems accurate the smb protocol apparently tries to stat the intermediate directories.
Except it shouldn't as in your case you have only access to part of the tree.
Comment 3 clemens.brunner 2025-12-02 06:31:04 UTC
Do you need me to provide more information? Is there anything I can do to help get this resolved?
Comment 4 Méven 2025-12-02 09:19:50 UTC
(In reply to clemens.brunner from comment #3)
> Do you need me to provide more information? Is there anything I can do to
> help get this resolved?

No the issue should be easy to reproducable.

Need a volonteer (or someone hired) to fix it.
Too busy at the moment myself.