[confirmed] Kde-frameworks 6.19 with SMB mounted: Dolphin cannot copy or rename files

Hi everyone,

I know this probably belongs to bugs, but I can’t file a bug because I don’t have enough information just yet. First, some versions:

Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland

Now to my problem: I have a SMB share mounted by typing smb://user@host.local/ directly into Dolphin. It gets the password from KWallet just like before. It connects fine, it mounts fine, I can browse files in Dolphin no problem.

What I CAN’T DO anymore since the most recent run of updates on Arch is this:

  • Rename any file on the share,
  • Move any file on the share,
  • Copy anything into the share.

What I still CAN do:

  • Create a file or folder,
  • Delete a file or folder,
  • Open/read a file,
  • Copy files/folders out of the share.

Dolphin will error out with a small popup “Access denied.”. If it was just a permission issue, I shouldn’t be able to create/delete.

Also, I have tried using the share directly over the console (after opening a terminal using F4 which triggers kio-fuse to mount the share), which works just fine, e.g.:

cd /run/user/1000/kio-fuse-MPqcDO/smb/user@host.local/

I can create, delete, delete, copy, rename just as I am used to outside of Dolphin. So I feel like it’s not the mount itself nor is it anything to do with kio-fuse. I looked at the system logs but Dolphin doesn’t write anything there at all.

Another observation: Using desktop-portal’s open dialog, same story: I can’t rename files, can’t delete them, can’t move them in there too. Although in that case, there is no error. It just does nothing.

Does anyone have some pointers for me to go digging deeper? Thank you!

3 Likes

You are not alone :wink:

Same behavior here, also on Arch:

Dolphin: 25.08.2
KDE Frameworks: 6.19.0
Qt: Using 6.10.0 and built against 6.10.0
Arch Linux (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.1-arch1-1

Samba server does not report any permissions error.

This in the journal might be relevant:

kioworker[4809]: Connection::send() called with connection not inited
kioworker[4809]: An error occurred during write. The worker terminates now.

but above my pay grade to troubleshoot further …..

1 Like

I can say I also have the same issue. Happens for public shares and when I try to login for a secured share.

What I CAN’T DO anymore since the most recent run of updates on Arch is this:

Do you happen to know which KDE Frameworks you were using previously ?

Nice reporting.

If you could report it to bug.kde.org

I do reproduce this in dolphin. So this shouldn’t be hard to fix.

Another observation: Using desktop-portal’s open dialog, same story: I can’t rename files, can’t delete them, can’t move them in there too. Although in that case, there is no error. It just does nothing.

That’s likely a different issue, since it can’t write at all (deletion).

Someone was faster than me: https://bugs.kde.org/show_bug.cgi?id=510567

1 Like

I built my own KIO package from KIO - Frameworks/6.19 with patch 2022 applied and can confirm the bug is fixed.

Side effects? no idea :slight_smile:

I’m on Fedora 42 today, Plasma 6.4.5, KDE Frameworks 6.19 and yes, I have all sorts of SMB related problems with copying and moving files and even just connecting to SMB shares, like shares randomly kicking me out while trying to list files. I often get permissions errors too. I wasn’t paying much attention at first as I mostly use an NFS share, but then I saw this post.

FWIW, today, I’m back on Debian 13 with Plasma 6.3.6 and KDE Frameworks 6.13 and I don’t have this problem, SMB works normally.

Yeah, the regression happened in Frameworks 6.19, so versions up to 6.18 are working as intended.

The bug is marked as very high priority, so 6.19 will soon get something like 6.19.1 which fixes the regression. Not true, see:

You can build your own KIO package with the patch applied if you need the bug fixed sooner. It’s not that hard, call me up if you need help.

FYI, KDE Frameworks (which KIO is port of) have monthly release, there has never been a .1 for KDE Frameworks.

You can expect the next release 6.20 with a fix on the 14th of November ( Schedules/Frameworks - KDE Community Wiki ).

1 Like

Mounting the share with Smb4K solves the problem (as many other cases the KIO worker can’t handle).

I noticed that This Week In Plasma refers to “Frameworks 6.19.1”.

Does that mean that there actually is going to be a 6.19.1 to fix this?

Yes, the release is out.

Now the ball is in the distribution side to ship it.

1 Like

Maybe I am having some other issue, but it worked previously for me and it hasn’t since it was broken. I have everything updated:

I have reset dolphin but get the same issue of not having permissions. I am not sure where it is saving any password as it hasn’t reprompted for the password and my wallet is empty