Bug 510856 - Moving files between two ext4 partitions fails: "Could not rename file" (KIO Trash / KIOFUSE issue)
Summary: Moving files between two ext4 partitions fails: "Could not rename file" (KIO ...
Status: RESOLVED DUPLICATE of bug 510810
Alias: None
Product: kiofuse
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: a.saoutkin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-21 06:10 UTC by Alain AUBERT
Modified: 2025-10-21 15:27 UTC (History)
3 users (show)

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


Attachments
screen_bug (59.09 KB, image/png)
2025-10-21 06:10 UTC, Alain AUBERT
Details

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