"kioworker: No trash directory found for "/" ! TrashImpl::findTrashDirectory returned -3" on secondary drives

After an update when i try to delete files on my secondary drive mounted on /media dolphin gives me The trash is not available for this item’s location. Permanently delete it instead? error and gives me an option to delete the files permanently. This only happens whenever i try to delete anything that is not on my /home partition. When that happens on kSystemLog i see No trash directory found for "/" ! TrashImpl::findTrashDirectory returned -3 warning coming from kioworker. Is this a bug or something else? coz this seems to affect some other users as well:

Operating System: Arch Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland

1 Like

I’m currently experiencing the same problem. I cannot Move to Trash from anywhere else than /home/username/.

For example: /home/username/desktop/xyz.xyz and /home/username/downloads/xyz.xyz don’t work, but /home/username/xyz.xyz works.

Did you find a fix?

+1 when trying to delete from /opt on Fedora 43 after running updates last week

+1. I just upgraded from F42 to F43 and deleting from a Plasma Vault has this same issue since the upgrade.

In short: if somebody here does have this issue with a non-btrfs volume, please mention it! So far it appears to me as all of you have this issue with btrfs-volumes, so this is part of the #395023 issue.

guys do any of you run btrfs? my whole system is ext4 so ill leave a comment and link this thread there.

2 Likes

Fedora 43, all ext4, and I don’t see this issue.

So it might indeed be specific to btrfs.

Yes, btrfs here. Nice find.

1 Like

btrfs here too.
i worked around the prob temporarily with sudo mount --bind /home/$USER/.local/share/Trash/ /$FOLDER/.Trash-1000/ as suggested on the above link. Oddly not all my subvols are affected, just a few. I wrote small script to do the mount binds when logging in.

Same problem with xfs as the file system on both drives.

Best regards.

I’m seeing it on ext4 when I try to delete files in my encrypted folder, which uses gocryptfs