GNU bug report logs - #24787
25.1; eshell cd not changing directory on remote path (windows-nt)

Previous Next

Package: emacs;

Reported by: "Gary O'Sullivan" <gary5000 <at> gmail.com>

Date: Mon, 24 Oct 2016 23:13:02 UTC

Severity: minor

Merged with 33791

Found in versions 25.1, 26.1

Fixed in version 26.2

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

Bug is archived. No further changes may be made.

Full log


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

From: Gary O'Sullivan <gary.osullivan <at> iol.ie>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>,
 Gary O'Sullivan <gary5000 <at> gmail.com>
Cc: 24787 <at> debbugs.gnu.org
Subject: Re: bug#24787: 25.1; eshell cd not changing directory on remote path
 (windows-nt)
Date: Tue, 25 Oct 2016 21:44:51 +0100
On 25/10/16 00:21, Noam Postavsky wrote:
> On Mon, Oct 24, 2016 at 7:03 PM, Gary O'Sullivan <gary5000 <at> gmail.com> wrote:
>> Run runemacs.exe -Q
>>
>> M-x eshell
>>
>> Welcome to the Emacs shell
>>
>>
>> c:/software/emacs/bin $ cd /plink:mysrv:/
>>
>> /plink:mysrv:/home/gary/ $ cd etc
>>
>> No such directory found via CDPATH environment variable
>>
>> /plink:mysrv:/home/gary/ $ cd /plink:mysrv:/etc
>>
>> /plink:mysrv:/etc $
>
> Wouldn't the corresponding relative path for this be ../../etc? (I'm
> assuming cd /plink:mysrv:/home/gary/etc doesn't work)

The output from the ls command looks ok, I can see the etc directory but 
pwd/cd seems to be confused. If I go directly to 
"/plink:mysrv:/home/gary" I can list the files in my home directory but 
cd is still not working.

c:/software/emacs/bin $ cd /plink:mysrv:/
/plink:mysrv:/home/gary/ $ pwd
/plink:mysrv:/home/gary/
/plink:mysrv:/home/gary/ $ ls
bin   dev  home  lib64       media  mnt  opt   root  selinux  sys usr
boot  etc  lib   lost+found  misc   net  proc  sbin  srv      tmp var
/plink:mysrv:/home/gary/ $ cd etc
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary/ $ cd /plink:mysrv:/home/gary
/plink:mysrv:/home/gary $ pwd
/plink:mysrv:/home/gary
/plink:mysrv:/home/gary $ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates Videos
/plink:mysrv:/home/gary $ cd Documents
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary $ cd ..
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary $ pwd
/plink:mysrv:/home/gary
/plink:mysrv:/home/gary $ cd ../../etc
No such directory found via CDPATH environment variable
/plink:mysrv:/home/gary $






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

Previous Next


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