https://bugs.kde.org/show_bug.cgi?id=518012
Bug ID: 518012
Summary: Trash not working with systemd-automount (possible
regression)
Classification: Frameworks and Libraries
Product: kio-extras
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Trash KCM
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Dolphin is unable to trash files on fs mounted using systemd-automount.
I suspect this is a recent regression, since this used to work.
I tested for ext4 and btrfs, not working for either.
I suspect this commit could have caused it -
https://invent.kde.org/frameworks/kio/-/commit/5e98d7d0fe8a2b0c80ed450193ffcbd2c95378d6#cb540eb235d7edff046e2fb76b1e3148c4ec9ef7_992_946
Since the error log says the following -
```
kf.kio.workers.trash: trashing a file QUrl("file:///mnt/drive/test_file.txt")
QUrl("trash:/test_file.txt")
kf.kio.workers.trash: "/mnt/drive/test_file.txt" is on a pseudofs: "autofs"
```
STEPS TO REPRODUCE
1. Mount a drive with automount, e.g.
```
# /etc/fstab
/dev/mapper/luksdev /mnt/drive ext4 defaults,x-systemd.automount 0 2
```
2. Try to delete a file from Dolphin.
OBSERVED RESULT
Dolphin asks to delete permanently -
"The trash is not available for this item's location. Permanently delete
instead?"
EXPECTED RESULT
The file should be trashed.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
The .Trash-UID directory exists with correct permissions.
The `trash` cli works.
--
You are receiving this mail because:
You are watching all bug changes.