GNU bug report logs - #31489
25.3; Dired unable to open directory "/ssh:example.com"

Previous Next

Package: emacs;

Reported by: Christoph Michelbach <michelbach94 <at> gmail.com>

Date: Fri, 18 May 2018 11:43:02 UTC

Severity: normal

Found in version 25.3

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: Christoph Michelbach <michelbach94 <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 31489 <at> debbugs.gnu.org
Subject: bug#31489: 25.3; Dired unable to open directory "/ssh:example.com"
Date: Mon, 21 May 2018 14:59:04 +0200
Can't the problems be avoided by establishing that paths to tramp paths can't
start with two slashes?

To paths on Unix-like systems, you can add more slashes. So with that rule in
place, the user could simply start weird paths with two slashes and dired could
be changed to just add another slash to the beginning of the path if the file
the user hit enter on is in "/".

The path "/ssh:example.com:" would be passed to other functions as
"//ssh:example.com:". When Emacs asks the OS to access "//ssh:example.com:",
it's just the same as if it asked it to access "/ssh:example.com:".




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

Previous Next


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