GNU bug report logs -
#33791
26.1; Eshell on Windows connecting to GNU/Linux machine using TRAMP and plink: env: ‘c:/home/jordan/test.sh’: No such file or directory
Previous Next
Reported by: Jordan Wilson <jordan.t.wilson <at> gmx.com>
Date: Tue, 18 Dec 2018 15:02:01 UTC
Severity: minor
Merged with 24787
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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 29 Dec 2018 15:19:28 +0100
with message-id <878t08qutr.fsf <at> gmx.de>
and subject line Re: bug#33791: 26.1; Eshell on Windows connecting to GNU/Linux machine using TRAMP and plink: env: ‘c:/home/jordan/test.sh’: No such file or directory
has caused the debbugs.gnu.org bug report #33791,
regarding 26.1; Eshell on Windows connecting to GNU/Linux machine using TRAMP and plink: env: ‘c:/home/jordan/test.sh’: No such file or directory
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
33791: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33791
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
I'm running Emacs 26.1 on Windows 10. I've replicated this with "emacs
-Q".
When I'm connected to my GNU/Linux machine (using TRAMP and plink) with
eshell, I can't run executables in the local directory. Doing
"./test.sh" returns "env: ‘c:/home/jordan/test.sh’: No such file or
directory".
I also can't navigate properly using `cd', etc. It returns "No such
directory found via CDPATH environment variable".
Here's an example:
c:/Users/Jordan $ /plink:jordan <at> domain.com:/home/jordan/test
/plink:jordan <at> domain.com:/home/jordan/test $ ls
test2 test.sh
/plink:jordan <at> domain.com:/home/jordan/test $ ./test.sh
env: ‘c:/home/jordan/test.sh’: No such file or directory
/plink:jordan <at> domain.com:/home/jordan/test $ cd test2
No such directory found via CDPATH environment variable
/plink:jordan <at> domain.com:/home/jordan/test $ cd test2/
No such directory found via CDPATH environment variable
/plink:jordan <at> domain.com:/home/jordan/test/ $
Thanks
I don't have these problems trying to connect to "domain.com" this way
on my GNU/Linux install. I've tried the 26.2 pretest on Windows, and I'm
having the same problem.
In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
of 2018-05-29 built on TPW550S
Windowing system distributor 'Microsoft Corp.', version 10.0.17134
Configured using:
'configure --without-compress-install --without-dbus --with-modules
'CFLAGS= -O2 -g3''
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS LIBXML2
ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS LCMS2
Important settings:
value of $LANG: ENG
locale-coding-system: cp1252
Major mode: Eshell
--
Jordan Wilson
Sent from Gnus v5.13, GNU Emacs 26.1
[Message part 3 (message/rfc822, inline)]
Version: 26.2
Jordan Wilson <jordan.t.wilson <at> gmx.com> writes:
> Hi Michael and Eli,
Hi Jordan,
>> Jordan, could you pls test whether the changes I have applied to the
>> emacs-26 branch work for you? See attachment for the changes.
>
> The patches fix my problem. Everything now works as expected.
Thanks for the feedback. I'm closing the bug.
> Thank you to both of you for fixing this!
Best regards, Michael.
This bug report was last modified 6 years and 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.