Public bug reported: I have a media btrfs filesystem on HDD mounted under my home directory. When I delete a file using Dolphin, the file gets copied to $HOME/.local/share/Trash. After discovering how to set up a separate filesystem trash dir, I am still unable to make this work.
My media filesystem is mounted on /space. I have tried both creating a common trash dir as follow: sudo mkdir /space/.Trash sudo chmod a+wt /space/.Trash and a user-specific one: sudo mkdir /space/.Trash-1000 sudo chmod 700 /space/.Trash-1000 The spec for doing this is here: https://specifications.freedesktop.org/trash/latest/ It seems that the issue is specific to btrfs filesystems according to the following long-lived KDE bug: https://bugs.kde.org/show_bug.cgi?id=395023 If I create the user-specific trash dir, the expected subdirs do get created by Dolphin. But the file I delete still gets copied into $HOME/.local/share/Trash. I've verified that `trash-cli` can correctly move the file I want to delete to /space/.Trash-1000/ as expected. This bug is still present in 24.04 LTS version of KDE. For those who find this bug first, the KDE bug has a comment with a workaround: https://bugs.kde.org/show_bug.cgi?id=395023#c5 using trash- cli. I haven't tested it yet. ** Affects: kio (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2140486 Title: Trash on non-home btrfs filesystem does not work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kio/+bug/2140486/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
