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 08:33:58 +0300 Message-ID: <86tv05ew1l.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58806"; mail-complaints-to="usenet@ciao.gmane.io" To: 41496@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 24 07:35:10 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 1jcjHx-000FCP-UK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 May 2020 07:35:10 +0200 Original-Received: from localhost ([::1]:58420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcjHw-0004E5-Ce for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 May 2020 01:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcjHq-0004Dl-93 for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 01:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcjHp-0008Gk-VY for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 01:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcjHp-0000h8-SH for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 01:35:01 -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 05:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41496 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15902984962653 (code B ref -1); Sun, 24 May 2020 05:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 May 2020 05:34:56 +0000 Original-Received: from localhost ([127.0.0.1]:36154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcjHk-0000gj-7i for submit@debbugs.gnu.org; Sun, 24 May 2020 01:34:56 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcjHi-0000gb-Ds for submit@debbugs.gnu.org; Sun, 24 May 2020 01:34:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcjHi-0004DY-6N for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 01:34:54 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:58277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcjHg-0008Cx-Tv for bug-gnu-emacs@gnu.org; Sun, 24 May 2020 01:34:53 -0400 Original-Received: from protected.rcdrun.com ([::ffff:41.210.155.168]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_CBC_SHA1) by stw1.rcdrun.com with UTF8ESMTPSA id 000000000009FD60.000000005ECA0753.0000251D; Sat, 23 May 2020 22:34:10 -0700 Original-Received: from localhost (localhost [127.0.0.1]) (uid 1001) by protected.rcdrun.com with local id 00000000000C735D.000000005ECA074B.00005FA6; Sun, 24 May 2020 07:34:03 +0200 X-Hashcash: 1:20:200524:bug-gnu-emacs@gnu.org::9uzGf4dUCe2wI4yw:00000000000000000000000000000000000000006EZ9 Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/24 01:34:19 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:180877 Archived-At: I am trying to use Tramp to access Termux on Android/Replicant, by using this command: /ssh:192.168.43.1#8022:/storage/emulated/0/ Yet I get faced with the error: File error: Couldn't find a proper `ls' command I have installed there "ls" command from coreutils, and I tried these checks: ls -lnd / drwxr-xr-x 20 0 0 0 Feb 6 1970 / ls --color=never -al /dev/null crw-rw-rw- 1 root root 1, 3 Feb 6 1970 /dev/null $ 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. The ssh connection from terminal works just fine, including the sftp connection. It would be nice to be able to access Android/Replicant devices over sshd by using Tramp. In GNU Emacs 28.0.50 (build 9, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2020-05-07 built on protected.rcdrun.com Repository revision: b2581eea1be1468a15927be00ba2f3f399af33a1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/package/text/emacs-2020-05-07 --with-modules --without-gpm --with-x-toolkit=lucid PKG_CONFIG_PATH=/home/data1/protected/GNUstep/Library/Libraries/pkgconfig:/usr/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_ALL: de_DE.UTF-8 value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort hashcash mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 46634 10093) (symbols 48 6086 1) (strings 32 16423 1836) (string-bytes 1 526914) (vectors 16 10157) (vector-slots 8 133373 10264) (floats 8 24 36) (intervals 56 246 0) (buffers 992 11)) -- Thanks, Jean Louis