GNU bug report logs -
#10586
23.3; cd in remote shell reset working directory to local home
Previous Next
Reported by: Alberto <alberto.ing <at> gmail.com>
Date: Mon, 23 Jan 2012 18:52:01 UTC
Severity: normal
Found in version 23.3
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Alberto wrote:
> Open a remote folder, e.g.
> C-x C-f /onan:bin
> Open a remote shell there
> M-x shell
> Check with pwd that working directory is remote
> M-x pwd
> Execute in the shell cd
> > cd
> Check with pwd that working directory is now _local_ home
> M-x pwd
I can't reproduce this using Tramp's scpc method and don't see how such
a thing could even be possible. Is your local home directory even
visible on the remote machine? What tramp connection method are you
using? Does it happen with `emacs -Q'?
> After this happens the only way I found to fix the working directory
> is to kill the shell buffer and open it again.
Depending on the shell you use, does not 'cd -' take you back to the
previous directory?
This bug report was last modified 13 years and 126 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.