GNU bug report logs - #48349
28.0.50; Problem in dired with symbolic links to Tramp-syntax files

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Tue, 11 May 2021 13:24:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 48349 <at> debbugs.gnu.org
Subject: bug#48349: 28.0.50; Problem in dired with symbolic links to Tramp-syntax files
Date: Wed, 12 May 2021 20:16:58 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

Hi Lars,

> Apparently dired passes symlinks to Tramp in unfortunate ways.
>
> For instance:
>
> (cd /tmp; ln -s /sudo:root <at> localhost:/tmp/foo bar)
> emacs -Q /tmp/
>
> will infloop asking for a password -- `C-g' will break, but it'll just
> ask again apparently forever, and you have to kill Emacs to get out of
> the loop.
>
> I haven't tried to debug either case.

This is a collateral damage of 824d1a57ec8e7c90b01af6665de5a114529170df
in function file-name-non-special. Brrrr :-(

I will try to see how to fix this, w/o loosing the solution for bug#48177.

Best regards, Michael.




This bug report was last modified 4 years and 8 days ago.

Previous Next


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