Bug 510645

Summary: Access denied error when trying to copy/move files to SMB share
Product: [Frameworks and Libraries] frameworks-kio Reporter: Joaquim Monteiro <joaquim.monteiro>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.19.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Joaquim Monteiro 2025-10-15 16:15:41 UTC
SUMMARY

After updating to kio 6.19.0, I cannot copy or move files to my SMB share, or rename/move files within it, as it fails with "Access denied. Could not write to smb://hostname/path/to/dir/."

I bisected the issue to merge request https://invent.kde.org/frameworks/kio/-/merge_requests/1990 (commit 15fff1b8592648f11f20a303c8f82d61d3f19584). Downgrading the kio package to 6.18.0-1 or reverting the commit both fix the issue.

STEPS TO REPRODUCE
1. Copy a file
2. Paste it in an SMB share (mine is password protected, not sure if it matters)

OBSERVED RESULT
The error message "Access denied. Could not write to smb://hostname/path/to/dir/." appears.

EXPECTED RESULT
The file is copied.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (testing)
KDE Plasma Version: 6.4.91
KDE Frameworks Version: 6.19
Qt Version: 6.10
Comment 1 Patrick Silva 2025-10-15 16:42:56 UTC

*** This bug has been marked as a duplicate of bug 510567 ***