From: Jean Louis <bugs@gnu.support>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 41496@debbugs.gnu.org
Subject: bug#41496: 28.0.50; When accessing sshd via Tramp via Termux on Android: File error: Couldn't find a proper `ls' command
Date: Sun, 24 May 2020 17:46:15 +0300 [thread overview]
Message-ID: <20200524144615.GG27992@protected.rcdrun.com> (raw)
In-Reply-To: <877dx1d8ga.fsf@gmx.de>
* Michael Albinus <michael.albinus@gmx.de> [2020-05-24 11:49]:
> Jean Louis <bugs@gnu.support> writes:
>
> Hi,
>
> > $ which ls
> > /data/data/com.termux/files/usr/bin/ls
> >
> > Thus ls is there and is working so far, it is from coreutils, not from
> > busybox. The busybox version did not work.
>
> I guess you need to add that directory to your remote PATH. See variable
> `tramp-remote-path'.
Thank you, I did change that, and I still get the same error.
If I start emacs -Q, then I can login, it works well, provided I have
changed that path.
Do you know maybe how can I debug that? I need my Emacs settings and
with it, I get this same error.
I have no other options set for tramp, and still same error.
Jean
tramp-remote-path is a variable defined in ‘tramp-sh.el’.
Its value is
(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin" "/data/data/com.termux/files/usr/bin")
Original value was
(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin")
next prev parent reply other threads:[~2020-05-24 14:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-24 5:33 bug#41496: 28.0.50; When accessing sshd via Tramp via Termux on Android: File error: Couldn't find a proper `ls' command Jean Louis
2020-05-24 8:48 ` Michael Albinus
2020-05-24 14:46 ` Jean Louis [this message]
2020-05-24 14:58 ` Michael Albinus
2020-05-24 16:27 ` Jean Louis
2020-05-24 17:14 ` Michael Albinus
2020-05-24 17:21 ` Jean Louis
2020-05-24 17:41 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200524144615.GG27992@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=41496@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.