GNU bug report logs -
#58721
28.2; dired with delete-by-moving-to-trash can't trash directory twice
Previous Next
Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>
Date: Sat, 22 Oct 2022 18:24:01 UTC
Severity: normal
Found in version 28.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Gustavo Barros <gusbrs.2016 <at> gmail.com>
> Date: Thu, 27 Oct 2022 14:07:21 -0300
> Cc: 58721 <at> debbugs.gnu.org
>
> Debugger entered--Lisp error: (file-already-exists "File exists"
> "/home/<username>/.local/share/Trash/files/org-mode83g...")
> make-directory-internal("/home/<username>/.local/share/Trash/files/org-mode83g...")
And the directory by that name really already exists under Trash?
That would mean something is wrong with make-temp-file on your system,
because it's supposed to return a different file name. You will see
that move-file-to-trash calls make-temp-file near its end.
(I cannot myself try reproducing this because I don't have access to a
system with freedesktop.org-style Trash.)
Thanks.
This bug report was last modified 2 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.