Bug 445976 - Cannot write to samba share
Summary: Cannot write to samba share
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-23 15:19 UTC by Rick
Modified: 2022-12-10 10:05 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-28887-0.html (1.40 KB, text/html)
2021-11-23 19:34 UTC, Rick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick 2021-11-23 15:19:22 UTC
SUMMARY

Client can read and create files and folders but cannot overwrite existing files on samba share. 

STEPS TO REPRODUCE

1. Open shared file on samba server through Dolphin
2. Edit file in kwrite, kate, libreoffice
3. Save file

OBSERVED RESULT

The following error appears:

Could not rename partial file smb://raspberrypi.local/pi/shared/filename.part.
Please check permissions.

A partial file is left on server.

EXPECTED RESULT

Save file without issues

SOFTWARE/OS VERSIONS

Windows: 11
macOS: 
Linux/KDE Plasma: 5.11.0.40-generic(64-bit)
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

Windows 11 Notepad works perfectly through Windows file explorer

Dolphin version 20.12.2 works perfectly
Linux kernel: 5.10.0-9-amd64
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Rick 2021-11-23 15:21:31 UTC
Libreoffice exits without saving file or leaving partial file on server.
Comment 2 Nate Graham 2021-11-23 18:14:34 UTC
Do you have kio-fuse installed?
Comment 3 Rick 2021-11-23 19:34:24 UTC
Created attachment 143880 [details]
attachment-28887-0.html

just checked and yes it is installed.

Krusader works in place of Dolphin but I hate that app.

On Tue, Nov 23, 2021 at 12:14 PM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=445976
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>                  CC|                            |nate@kde.org
>              Status|REPORTED                    |NEEDSINFO
>
> --- Comment #2 from Nate Graham <nate@kde.org> ---
> Do you have kio-fuse installed?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Harald Sitter 2021-11-25 10:01:15 UTC
Whats your distro? What distro/os is the server running?
Comment 5 Rick 2021-11-26 20:25:54 UTC
I've changed my distro from KDE Neon to MX Linux KDE version. This distro uses Dolphin 20.12.2 and everything is running fine. The only change in my setup is the distro; hardware, network and server are all the same.

I'll keep a version of KDE Neon around to help you with troubleshooting but it is not my daily use distro anymore.
Comment 6 remcoluit 2022-02-01 22:24:34 UTC
This bug still exists, Slackware-current, Dolphin  21.12.1. Editing a text file from kate/kwrite and saving on a samba share results in following error Could not rename partial file testfile.txt.part.
Please check permissions.

Tried on different samba servers and for sure it worked in previous versions of Dolphin/KDE. At the same time on the same computer that it is not working with Dolphin i can open the same file from Thunar file manager and save without problems.
Comment 7 Michael Walker 2022-11-15 20:37:14 UTC
This same problem is in the KDE dophin file browser set as default for ROCKY LINUX 9
 If i install "Konqueror" and manually browse the same SMB shares, there is no issue writing files
Comment 8 Michael Walker 2022-11-15 20:38:55 UTC
PS:  

Installed Packages
dolphin.x86_64                                                                                21.08.3-1.el9   

Operating System: Rocky Linux 9.0
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-70.30.1.el9_0.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700T CPU @ 2.90GHz
Memory: 15.0 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Comment 9 Harald Sitter 2022-11-15 21:18:02 UTC
21.08.3 has not been supported for almost a year. Please complain to your distribution.
Comment 10 Michael Walker 2022-11-16 00:41:42 UTC
(In reply to Harald Sitter from comment #9)
> 21.08.3 has not been supported for almost a year. Please complain to your
> distribution.

is it possible for me to uninstall it, and then pull newer version from another repo?  or does it have to be built?
Comment 11 Harald Sitter 2022-11-16 08:12:06 UTC
You'll have to talk to your distribution, your entire software stack is out of support.
Comment 12 caleb 2022-12-10 05:36:08 UTC
This bug and a similar bug where samba files can be browsed but the folder reports 0 space have been reported multiple times. Snarky comments like, "go complain to your distro" don't help anyone. This bug and the other aforementioned one can be reproduced - across multiple distros, and in supported releases - plasma 5.24 and 5.26. I mentioned in one of the other bug reports I'd be happy to triage with someone. That ticket just got unceremoniously closed as well. The originator of this ticket made the same offer. I get that people are volunteers. I get that maybe it is a not a high priority issue, or maybe there is no time. But closing tickets with no effort by simply saying that version is now out of date is the same trick Fedora/Redhat like to use to cull their ticket count. It is a lousy look for both projects.
Comment 13 Harald Sitter 2022-12-10 10:05:46 UTC
What do you want us to do exactly?