Bug 510856

Summary: Moving files between two ext4 partitions fails: "Could not rename file" (KIO Trash / KIOFUSE issue)
Product: [Frameworks and Libraries] kiofuse Reporter: Alain AUBERT <aubert66>
Component: generalAssignee: a.saoutkin
Status: RESOLVED DUPLICATE    
Severity: normal CC: fabian, kio-bugs-null, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen_bug

Description Alain AUBERT 2025-10-21 06:10:17 UTC
Created attachment 185951 [details]
screen_bug

When moving a file between two local ext4 partitions in Dolphin, the operation fails with the error:
"Impossible de renommer le fichier…" (in English: "Could not rename file…")

The copy completes successfully, but the source file is not deleted.
This only happens when the “Move to Trash” option is enabled in Dolphin’s settings.
If “Delete permanently” is used instead, the operation works fine.

Steps to reproduce:

In Dolphin, enable “Move to Trash”.

Move a large file from /home/papa/Téléchargements/LanShare_Download (on /dev/nvme0n1p2) to /home/papa/4To (on /dev/sdb4).

Observe that Dolphin copies the file but fails to delete the source, showing "Impossible de renommer le fichier…"

Expected behavior:
The file should be moved correctly (copied then source deleted).

Actual behavior:
Copy works, but KIOFUSE/KIO Trash backend fails to remove the source.

Workaround:
Disable the Trash option (use permanent delete) or recreate ~/.local/share/Trash.

System information:

Arch Linux, kernel 6.17.3-zen2-1-zen

KDE Frameworks 6.x

Dolphin 24.08.x

Plasma 6.x

ext4 for both partitions

UID 1000 (normal user)

No automount (x-systemd.automount removed from fstab)

This appears related to the interaction between kio_trash and kiofuse when handling cross-filesystem move operations.
Comment 1 Nate Graham 2025-10-21 15:27:16 UTC

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