From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs 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 Message-ID: <20200524144615.GG27992@protected.rcdrun.com> References: <86tv05ew1l.fsf@protected.rcdrun.com> <877dx1d8ga.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="70961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.0 (2020-05-02) Cc: 41496@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 24 16:49:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jcrw6-000ILn-6c for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 May 2020 16:49:10 +0200 Original-Received: from localhost ([::1]:37260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcrw4-00086u-UL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 May 2020 10:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcrvy-00086Z-Lz for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 10:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcrvy-0001qO-D7 for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 10:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcrvy-0008N6-CW for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 10:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 May 2020 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41496 X-GNU-PR-Package: emacs Original-Received: via spool by 41496-submit@debbugs.gnu.org id=B41496.159033170932142 (code B ref 41496); Sun, 24 May 2020 14:49:02 +0000 Original-Received: (at 41496) by debbugs.gnu.org; 24 May 2020 14:48:29 +0000 Original-Received: from localhost ([127.0.0.1]:38456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcrvR-0008MM-8s for submit@debbugs.gnu.org; Sun, 24 May 2020 10:48:29 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:36401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcrvQ-0008M8-6L for 41496@debbugs.gnu.org; Sun, 24 May 2020 10:48:28 -0400 Original-Received: from localhost ([::ffff:41.210.155.168]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000009FD11.000000005ECA8930.0000598F; Sun, 24 May 2020 07:48:16 -0700 Content-Disposition: inline In-Reply-To: <877dx1d8ga.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180896 Archived-At: * Michael Albinus [2020-05-24 11:49]: > Jean Louis 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")