https://bugs.kde.org/show_bug.cgi?id=529144
Bug ID: 529144
Summary: Can't move read-only files to trash in Dolphin
Classification: Frameworks and Libraries
Product: frameworks-kio
Version First 6.32.0
Reported In:
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Trash
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
For some time now, I haven't been able to send read-only files to trash in
Dolphin. When I try to do that, Dolphin issues the following error:
Access denied to /path/to/file/
I'm pretty sure this worked fine until some time ago.
After some investigation, it turns out the problem seems to be related to
kioclient, as shown below:
> touch test.txt
> chmod 400 test.txt
> kioclient move test.txt trash:/
kioclient: Access denied to /home/adriano/test.txt.
I don't understand this behavior, since moving the file to some other folder
works just fine.
I'm not sure if this is intended behavior or a bug. I searched bugs.kde.org for
this, but couldn't find this exact bug. The link below seems to describe the
problem I'm facing:
https://openbsdmailbox.blogspot.com/2026/10/develkf6kio-fix-access-denied-when.html
As I said above, this worked fine until some time ago. It also works fine in
Ubuntu (nautilus file manager?).
STEPS TO REPRODUCE
1. > touch test.txt
2. > chmod 400 test.txt
3. > kioclient move test.txt trash:/
OBSERVED RESULT
kioclient: Access denied to /home/adriano/test.txt.
EXPECTED RESULT
File moved to the trash.
I understand that it may be a good idea to show a confirmation dialog warning
the user that the file being sent to trash is write-protected.
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux forky/sid
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.32.0
Qt Version: 6.11.2
Kernel Version: 7.3.4+deb14-amd64 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
None.
--
You are receiving this mail because:
You are watching all bug changes.