Bug 454439 - Could not rename partial file smb://file.part
Summary: Could not rename partial file smb://file.part
Status: RESOLVED NOT A BUG
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Samba (show other bugs)
Version: 21.12.3
Platform: Kubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 14:14 UTC by Christopher "Owen" Owens
Modified: 2022-06-08 13:36 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher "Owen" Owens 2022-05-26 14:14:55 UTC
SUMMARY

STEPS TO REPRODUCE
1. Kubuntu 22.04 fresh install (minimum install, fully updated)
2. Connect to a Windows 2012 Server Share via smb://10.0.0.151 in Dolphin
3. Open any file for editing in any editor (Kate, Sublime, LibreWriter), make changes, and save.

OBSERVED RESULT
With Sublime, get "input/output error"; it can't merge the .part into the file
With Kate, get "Could not rename partial file smb://10.0.0.151/shared/file.part"

EXPECTED RESULT
In previous Kubuntu versions (18.04 through 22.10), got prompted to send the file; and then prompted to overwrite the file. Upon answering yes, it works.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: Plasma 5.24.4, 
KDE Frameworks Version: KDE Frameworks 5.92, 
Qt Version: 5.15.3
Kernel: 5.15.0-33

ADDITIONAL INFORMATION
* I have reproduced this on baremetal and VMs
* I have seen other users report this bug in various distros, recently (2021-2022) all "resolved worksforme" or similar, but nothing specifically for Kubuntu
* I have checked and have smbclient installed, as well as cifs-utils and nfs-common, as well as kio-fuse.
* I notice in older versions (22.10) that when I have Terminal open in these Dolphin SMB locations, it does not show the directory; I'm still in my home / default directory. In 22.04, now it shows me a virtual path of kio-fuse directory. I wonder if that's the critical change?
Comment 1 Nate Graham 2022-05-26 17:28:48 UTC
Kate shouldn't be using kio-fuse, that would only happen for sublime. Moving to kio-extras | samba for now.
Comment 2 Harald Sitter 2022-06-04 14:30:26 UTC
open kate with the various variables described here and grab a log please

https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves/Debugging_kio_smb#Reporting_Bugs
Comment 3 Christopher "Owen" Owens 2022-06-08 13:32:47 UTC
This is now working for me with Kate; not sure what changed.
However, neither Sublime nor LibreOffice Write work, they still show I/O errors on saving the file.

This is no longer a critical bug for me; as such no further debugging / followup will be provided.
Feel free to reproduce or close as needed.

Thank you for your help in this.