Your message dated Thu, 26 Mar 2026 12:09:36 +0000
with message-id 
<3wrtzquyuzpjsyg4wy2z3afzqqf7d4xuagphgkejqsgumzgfpb@37wwqefofy2q>
and subject line Re: Bug#1130965: trash-cli: silently failing to restore files
has caused the Debian Bug report #1130965,
regarding trash-cli: silently failing to restore files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1130965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1130965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: trash-cli
Version: 0.24.5.26-0.3
Severity: important

I've just had trash-cli fail to restore a couple of files, although 
seemingly completing successfully. Afterwards, the relevant files are 
not in trash:/// any more either:


> $ trash-list |grep $PWD
> 2026-03-16 13:44:37 /home/jon/git/debian/ikiwiki
> 2026-03-16 11:57:04 /home/jon/git/debian/ikiwiki/debian/patches/move-style-1
> 2026-03-16 11:57:22 /home/jon/git/debian/ikiwiki/debian/patches/series
> 2026-03-16 11:57:03 /home/jon/git/debian/ikiwiki/debian/patches/move-style
> 2026-03-16 11:57:04 /home/jon/git/debian/ikiwiki/debian/patches/move-style-2
> $ trash-restore /home/jon/git/debian/ikiwiki/debian/patches/move-style-1
>    0 2026-03-16 11:57:04 
> /home/jon/git/debian/ikiwiki/debian/patches/move-style-1
> What file to restore [0..0]: 0
> $ trash-restore /home/jon/git/debian/ikiwiki/debian/patches/move-style-2
>    0 2026-03-16 11:57:04 
> /home/jon/git/debian/ikiwiki/debian/patches/move-style-2
> What file to restore [0..0]: 0
> $ ls debian/patches/
> "fix-po.t-when-testing-the-installed-ikiw.patch"
> $ trash-list | grep $PWD
> 2026-03-16 13:44:37 /home/jon/git/debian/ikiwiki
> 2026-03-16 11:57:22 /home/jon/git/debian/ikiwiki/debian/patches/series





-- System Information:
Debian Release: 13.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-security'), (500, 'oldoldstable'), 
(500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages trash-cli depends on:
ii  python3         3.13.5-1
ii  python3-psutil  7.0.0-2

trash-cli recommends no packages.

trash-cli suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Mon, Mar 16, 2026 at 01:49:17PM +0000, Jonathan Dowland wrote:
I've just had trash-cli fail to restore a couple of files, although
seemingly completing successfully. Afterwards, the relevant files are
not in trash:/// any more either:

I think what has happened is my $PWD was moved/removed, and so trash cli was restoring into a different directory than my running shell. *HOW* that happened I'm not sure; in my history I had also run `gio trash --list`, so it may not be trash-cli's fault after all.

--
👱🏻      Jonathan Dowland
✎           [email protected]
🔗               jmtd.net

--- End Message ---

Reply via email to