emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48349: closed (28.0.50; Problem in dired with symbolic links to Tram


From: GNU bug Tracking System
Subject: bug#48349: closed (28.0.50; Problem in dired with symbolic links to Tramp-syntax files)
Date: Thu, 13 May 2021 12:03:02 +0000

Your message dated Thu, 13 May 2021 14:02:32 +0200
with message-id <877dk2g7tz.fsf@gmx.de>
and subject line Re: bug#48349: 28.0.50; Problem in dired with symbolic links 
to Tramp-syntax files
has caused the debbugs.gnu.org bug report #48349,
regarding 28.0.50; Problem in dired with symbolic links to Tramp-syntax files
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48349: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48349
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; Problem in dired with symbolic links to Tramp-syntax files Date: Tue, 11 May 2021 15:22:59 +0200
Apparently dired passes symlinks to Tramp in unfortunate ways.

For instance:

(cd /tmp; ln -s /sudo:root@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.

(cd /tmp; ln -s /sudo:root@nosuchhost:/tmp/foo bar)
emacs -Q /tmp/

won't even give you a prompt, but won't display anything -- hanging
while resolving the "nosuchhost" name?

I haven't tried to debug either case.


In GNU Emacs 28.0.50 (build 71, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, 
cairo version 1.16.0)
 of 2021-05-10 built on xo
Repository revision: aa354dd55b213b86ee8e3aa0365a6ad915838458
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Debian GNU/Linux bullseye/sid

Configured using:
 'configure --with-native-compilation'

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




--- End Message ---
--- Begin Message --- Subject: Re: bug#48349: 28.0.50; Problem in dired with symbolic links to Tramp-syntax files Date: Thu, 13 May 2021 14:02:32 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Version: 28.1

Michael Albinus <michael.albinus@gmx.de> writes:

Hi Lars,

>> Apparently dired passes symlinks to Tramp in unfortunate ways.
>>
>> For instance:
>>
>> (cd /tmp; ln -s /sudo:root@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.

Should be fixed now in master. Closing the bug.

Best regards, Michael.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]