Bug 510645 - Access denied error when trying to copy/move files to SMB share
Summary: Access denied error when trying to copy/move files to SMB share
Status: RESOLVED DUPLICATE of bug 510567
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.19.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-15 16:15 UTC by Joaquim Monteiro
Modified: 2025-10-15 16:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***