GNU bug report logs -
#31924
27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Thu, 21 Jun 2018 09:11:01 UTC
Severity: normal
Found in version 27.0.50
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
Michael Albinus <michael.albinus <at> gmx.de> writes:
Hi Tino,
>> Please consider to apply the restricted patch at the end of this
>> message. It's clean and it doesn't add method specific stuff.
>>
>> I have successfully connected into a remote machine using this patch,
>> with my local machine having:
>> /bin/sh -> /bin/zsh
>
> Looks OK to me. You could install it into master.
Somehow, this patch hasn't been applied ever. And there were also
problems with multi-hop, IIRC. Hmm.
Some weeks ago, I've worked on support of zsh in Tramp for remote
shells. So I've taken the opportunity to come back to this bug, which is
about the local (encoding) shell being zsh.
I've applied a patch to Emacs master, which should fix this. Could you
please test? All you need is to run (setq tramp-encoding-shell "/usr/bin/zsh")
in advance, which tells Tramp to use the proper arguments from
`tramp-sh-extra-args'.
Best regards, Michael.
This bug report was last modified 5 years and 211 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.