You are not logged in.

#1 2025-11-17 06:01:42

MasterGeek.MX
Member
From: Mexico City, America, Earth.
Registered: 2019-09-16
Posts: 32

KDE Dolphin has issues deleting files: "Could not rename file"

DE: KDE Plasma.

When trying to delete a file or folder using KDE Dolphin, either with the Delete key or using the right-click context menu, an error message window and error top bar pops up with the following:

Could not rename file [path of the file/folder].

If one tries to delete the file again, then it succeeds.

When running dolphin through the terminal, the following error comes:

kf.kio.workers.file: Could not rename file " [path of the file/folder]" to "[home path of my user]/.local/share/Trash/files/[name of the file/folder]"
"Could not rename file [path of the file/folder]."

And after the second try (the successful one), this comes out:

kf.kio.workers.file: Could not rename file " [path of the file/folder]" to "[home path of my user]/.local/share/Trash/files/[name of the file/folder]"
kf.kio.workers.file: Could not rename file " [path of the file/folder]" to "[home path of my user]/.local/share/Trash/files/[name of the file/folder]"
kf.kio.workers.file: copy() QUrl("file:///[path of the file/folder]") to QUrl("file:///[home path of my user]/.local/share/Trash/files/[name of the file/folder") mode= 420

As long as Dolphin does not close, subsequent delete operations happen with no issue.


I made a bow to not perpetrate the meme, so I don't RTMF people, and I don't even say the name of the distro unless I am asked direclty.

Offline

#2 2025-11-17 09:42:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,632

Re: KDE Dolphin has issues deleting files: "Could not rename file"

If one tries to delete the file again, then it succeeds.

findmnt -T ~/.local/share/Trash/files

Are there any IO (or network?) errors in the journal around the failing trash movements?
Do you use some external media (usb key or network drive) as $HOME?

Offline

Board footer

Powered by FluxBB