🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.kde
Article #12

Re: Can't move read-only files to trash in Dolphin

#12
From: Adriano Vilela Barbosa
Date: Thu, 19 Nov 2026 11:50
64 lines
6194 bytes
On Thu, 19 Nov 2026 at 00:35, <debian.flame259@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
Technical Details
Message-ID: <O18Ol-cSGi-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O0YOZ-cNcq-1@gated-at.bofh.it> <O11a9-cOo0-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Adriano Vilela Barbosa <adriano.vilela@gmail.com>
Newsgroups: linux.debian.maint.kde
Subject: Re: Can't move read-only files to trash in Dolphin
Date: Thu, 19 Nov 2026 12:50:01 +0100
Message-ID: <O18Ol-cSGi-3@gated-at.bofh.it>
References: <O0YOZ-cNcq-1@gated-at.bofh.it> <O11a9-cOo0-3@gated-at.bofh.it>
X-Original-To: debian-kde@lists.debian.org
X-Mailbox-Line: From debian-kde-request@lists.debian.org  Thu Nov 19 11:48:09 2026
Old-Return-Path: <adriano.vilela@gmail.com>
X-Amavis-Spam-Status: No, score=-2.099 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
Arc-Seal: i=1; a=rsa-sha256; t=1795087801; cv=none;
        d=google.com; s=arc-20260327;
        b=QdBkyrXX5gkTuFLZr9lBvyZeqHgL1zqFga8bIdxlb0wBfYLfq9tCFZnpBu9V7nYhBG
         F4Al/wepmSH8sTqgZAXv4AEpIkeGgUQqUjElZE6H9Oey2dpDcncxGGBCyKeps3O3tg/6
         sFeKsGkt3qDa7OYZyAwCl24qCNu98LpQa4OvesEz8Dta1Vyf7kBRm8UfFuZYaP+WLah+
         a7osv2wOqE23NC2cj8D4DH3YtkzJLPn3yvRViIXm1/3xEaaIlrrXvYRFvLbcc0et4GhA
         VwSgVsDIVkUWqy0cWUBNC6lgSTE6plP2Fo2y1HIQMEz8BPEwwiIePWL9LAVd1ipQRskm
         bQag==
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:dkim-signature;
        bh=ugh0CnxrgRs706VvaDVn2mVjTkYGsiKLAWTEa5+AGY0=;
        fh=Cs4Nxx0eH+8DF4rRnCuEmWupFNsFr6mvrUxLbTmSnu4=;
        b=mJzV7CZ4GDD+6TjrZUjoq5sw/am4cK2xdvr55i7y7tw03RdmdRsP0GYwaXGQ1D8ZGG
         siMq3m/YqWBJDLNE/G5Qmuc7DNGbrq+p/ZI5tZ61tWzJAKBoOre9ZenIjZb0UVYh3bPh
         QRJkPaEo8Mgr7A3AC1RmLurYcGfugW/gT2G9kAAFNqxxfc217wiRJ6afeRnZ0EneapXK
         0EAyqaI+dn010jPf4G15RZHcGijNCyrPlNBj8SMe01cmIjdgBOOthletYuKmIe/sjz8d
         CqZ28rwVt4KyfG+kBph1F5CP9fm8Czv8yCw4Y4dLP9nQ6k6smccWs+9ptLOkXbXWvOq5
         M2Zw==;
        darn=lists.debian.org
Arc-Authentication-Results: i=1; mx.google.com; arc=none
X-Gm-Message-State: APuU4Z886Zu996SW6i9WtBwRPZA9ZxHouHWyDuC2VrkX3ZRk9wo9dGUa
	3AUbjYsyK/5gYjaKI2DzCenpKmireTJnRiW5qT7SJVNACZ/LiiuqxnnO1VwOrXxAusPWPl1ubtV
	qaijvOH2wd6O+ZvjL+8/vDvGOSa42AsaE0nm6e0c=
X-Gm-Gg: AZFdTZe+AnHXxall2zoVW0SfNEAlzmUqIb48RUS3OW7gIqNimiZYpFQ6ZBNvPP04yvQ
	fiDoQar/QG+N9ydDg4W3NYC63oJDPbZ5W4piEWxE84a6pWKl2Y+eLJ6VPMuYpjT7XDrEcUTUbjL
	8VduJipdUsxsWiz2vYZ5qfXz294Bu5M74/Xir2VIHkqCEAv9gE2EgF1Kc69bEMNIDMHcSp544nL
	JuGBxwW0C6PCG4k2ZhGoaQyCzoKKJfERC9KJVEwRxeKQPnKkKPF/jm/QNn4raufO/fR/JhJS31G
	yWtxoeeeVZHJJbZt+YBUKY4AJthhNZLe5zjAgoHPVyvqKwafGbheC7h6VKOwL6m/JuZoo9Ttykw
	aAPAQ/wLX4yUakr3k1TujvVCtHryxiU6Ccedn1DCa/461ndUJMF1PoT9DRW/WG0wfRxHVPRO99U
	IhQEOOTxiIsWfJi8A0b5o9EIJl5NV1G7iKiHWhbe/QdnP9T/dgrPJ2d8b7zvZFgmkzAJdEPgVI5
	ll+vIc=
X-Received: by 2002:a05:7301:f0b:b0:368:7c2d:a612 with SMTP id
 5a478bee46e88-3828007a784mr4845364eec.10.1795087801148; Thu, 19 Nov 2026
 03:30:01 -0800 (PST)
MIME-Version: 1.0
X-Gm-Features: Aa3M54rV8ineumGThsnwZMlse-VogdeB_MirnexELDy_TTbbGH4QIk5QckZqXDc
Content-Type: text/plain; charset="UTF-8"
X-Mailing-List: <debian-kde@lists.debian.org> archive/latest/42349
List-ID: <debian-kde.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kde/>
List-Archive: https://lists.debian.org/msgid-search/CAE6ucnSj=wgzQLpmGQSzA2hcHx-=66tBt0X=PjRxUzXQ_f9tQA@mail.gmail.com
Approved: robomod@news.nic.it
Lines: 64
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian.flame259@passmail.net
X-Original-Date: Thu, 19 Nov 2026 08:29:31 -0300
X-Original-Message-ID: <CAE6ucnSj=wgzQLpmGQSzA2hcHx-=66tBt0X=PjRxUzXQ_f9tQA@mail.gmail.com>
X-Original-References: <CAE6ucnQqN0RTtkggiW6k4990cSUgHU1r03eRAXShQv0ovYwQ7w@mail.gmail.com>
 <179505934840.6.1926393713488645453.1784693998@passmail.net>