GNU bug report logs - #30946
26.0.90; TRAMP cannot access some files when using hops

Previous Next

Package: emacs;

Reported by: Nicolas Petton <nicolas <at> petton.fr>

Date: Mon, 26 Mar 2018 08:43:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.90

Fixed in version 27.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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Petton <nicolas <at> petton.fr>
Subject: bug#30946: closed (Re: bug#30946: 26.0.90; TRAMP cannot access
 some files when using hops)
Date: Tue, 03 Apr 2018 12:03:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#30946: 26.0.90; TRAMP cannot access some files when using hops

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 30946 <at> debbugs.gnu.org.

-- 
30946: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30946
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Petton <nicolas <at> petton.fr>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 30946-done <at> debbugs.gnu.org, 30946 <at> debbugs.gnu.org
Subject: Re: bug#30946: 26.0.90; TRAMP cannot access some files when using hops
Date: Tue, 03 Apr 2018 14:02:05 +0200
[Message part 3 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Michael,

> I have added an additional check in Tramp for host name matches in such
> cases. This checks also the single hop case "/sudo:example.com:", which
> shall fail when "example.com" is not your local host name.
>
> There's a new test case for this, tramp-test03-file-name-host-rules. I
> have the feeling that this test needs too much time; maybe I'll move it
> to the expensive tests.
>
> Could you pls check, whether Tramp behaves now as expected?

It works fine (and thank you for documenting it as well).

Cheers,
Nico
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Nicolas Petton <nicolas <at> petton.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90; TRAMP cannot access some files when using hops
Date: Mon, 26 Mar 2018 10:42:43 +0200
As discussed on the emacs-devel mailing list, when using tramp with
multiple hops like the following:

  C-x C-f /ssh:me <at> example.com|sudo:localhost:/etc/deluser.conf

Tramp opens an empty buffer, without showing any error message.

I understand now that the second hop should be "sudo:example.com:", but
it felt intuitive to use localhost, and for most files on the remote
host it actually worked.



This bug report was last modified 6 years and 144 days ago.

Previous Next


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