Summary: | .Trash directory in mounted drive is not used | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | ywywywx |
Component: | Trash | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | akselmo, kdelibs-bugs-null, nate, ywywywx |
Priority: | NOR | ||
Version First Reported In: | 6.1.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=502315 | ||
Latest Commit: | Version Fixed In: | 24.12.0 | |
Sentry Crash Report: |
Description
ywywywx
2024-09-25 16:07:06 UTC
The distribution I'm using is Fedora Kiniote, which is a image (rpm-ostree) based system. The original mount point of the mounted drive is under /mnt, which is actually an alias to /var/mnt. I assume this causes kio to have trouble detecting the correct mount point in this complicated setup? $ ls -al /mnt lrwxrwxrwx. 4 root root 7 Sep 6 16:29 /mnt -> var/mnt $ zfs get mountpoint st8 NAME PROPERTY VALUE SOURCE st8 mountpoint /mnt/st8 local This should be fixed with next version of Dolphin, see https://invent.kde.org/system/dolphin/-/merge_requests/828 (In reply to Akseli Lahtinen from comment #2) > This should be fixed with next version of Dolphin, see > https://invent.kde.org/system/dolphin/-/merge_requests/828 I'm afraid the fix mentioned in the merge request doesn't address the problem I'm experiencing. I've reviewed the corresponding bug report (https://bugs.kde.org/show_bug.cgi?id=493247), and I noticed that it describes a different issue: - Bug 493247 describes stale state of trash:/ when $topdir is unmounted after a file is correctly trashed into $topdir/.Trash. In contrast, my problem is that $topdir/.Trash is consistently ignored, with or without device changes after boot. - Moreover, https://invent.kde.org/system/dolphin/-/merge_requests/828 is specific to Dolphin. However, my problem can be reproduced using kioclient without Dolphin being involved, suggesting that the root cause lies in the kio library instead of Dolphin, which this merge request modifies. |