Subject: bug#24787: 25.1; eshell cd not changing directory on remote path (windows-nt)

From: Gary O'Sullivan <[email-masked]>
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 <[email-masked]> 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 $