On Thu, 19 Nov 2026 at 00:35, <debi…@passmail.net> wrote:
> > On Wednesday, 18 November 2026 17:46:12 MST Adriano Vilela Barbosa wrote:
> > Hi, > > > > 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.
> > It could be, when moving to trash:/, kioclient copies the file then deletes it. > The delete failing could be issuing the error. >
> > 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 probl
> em I'm facing:
> > > > https://openbsdmailbox.blogspot.com/2026/10/develkf6kio-fix-access-denied-when.html > > > > Does anybody know if this intended behavior? Should I file a bug upstream?
> > It may not be a bug but it might be a good suggestion to prompt the user that > they are attempting to move a write protected file to the trash. > > -- > Dovenchiko > https://www.therealmofthelost.net > >
I agree a confirmation dialog when trying to move read-only files to the trash may be a good idea. I took a look at the "Confirmations" settings in Dolphin Settings -> Configure Dolphin -> Interface -> Confirmations tab and there's a checkbox for "Moving files or folders to trash". Checking this does result in a confirmation dialog coming up when trying to send files to the trash, but it doesn't change the problem with read-only files. I think I'll file a bug upstream and see what they say. Thanks, Adriano