GNU bug report logs - #59986
30.0.50; Can't trash file with broken symbolic link

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Mon, 12 Dec 2022 06:53:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 59986 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 59986 <at> debbugs.gnu.org,
 bugs <at> gnu.support
Subject: Re: bug#59986: 30.0.50; Can't trash file with broken symbolic link
Date: Thu, 15 Dec 2022 17:54:32 +0300
* Eli Zaretskii <eliz <at> gnu.org> [2022-12-15 10:12]:
> Sorry, I was confused when I wrote the question: I was actually
> interested in the file being moved to trash, not the file already in
> the trash.

If there is dangling symlink in Trash then even if the file to be
deleted to Trash exists and is not symlink, I get the same error
message:

To reproduce:

1. Create dangling symlink:

   $ ln -s something more

2. Delete the file `more' to Trash by using Emacs

3. Create new file

   $ touch more

4. Try deleting file `more' by moving to Trash, there is error:

   file-already-exists: File already exists: /home/data1/protected/tmp/Trash/more

--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




This bug report was last modified 2 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.