From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#57044: 29.0.50; tramp-error: Reading directory: Permission denied, /scp:motorolausb:/storage/emulated/0/ Date: Fri, 12 Aug 2022 00:33:37 +0300 Message-ID: References: <86czdb3lg4.fsf@protected.rcdrun.com> <87edxrkt8d.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4984"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: 57044@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 11 23:35:24 2022 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 1oMFpr-00014V-Kx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Aug 2022 23:35:23 +0200 Original-Received: from localhost ([::1]:47526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMFpq-0000MQ-4Q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Aug 2022 17:35:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMFpY-0000Jl-2n for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2022 17:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMFpW-0004do-Hn for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2022 17:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMFpW-0002at-Aq for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2022 17:35: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: Thu, 11 Aug 2022 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57044 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57044-submit@debbugs.gnu.org id=B57044.16602536469909 (code B ref 57044); Thu, 11 Aug 2022 21:35:02 +0000 Original-Received: (at 57044) by debbugs.gnu.org; 11 Aug 2022 21:34:06 +0000 Original-Received: from localhost ([127.0.0.1]:55115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMFoc-0002Zj-6o for submit@debbugs.gnu.org; Thu, 11 Aug 2022 17:34:06 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:45267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMFoZ-0002ZZ-QL for 57044@debbugs.gnu.org; Thu, 11 Aug 2022 17:34:04 -0400 Original-Received: from localhost ([::ffff:102.82.155.191]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B0E.0000000062F575C9.000025DB; Thu, 11 Aug 2022 14:34:01 -0700 Content-Disposition: inline In-Reply-To: <87edxrkt8d.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:239376 Archived-At: * Michael Albinus [2022-08-08 11:58]: > I've tried to reproduce the problem on my Galaxy S6, installing > SimpleSSHD. However, I fail, because the shell refuses to operate > properly with the message I am long time Tramp user who connects to Replicant, Lineage OS and Android devices. Everything worked well. Recently it stopped working. Thus I do not assume that my devices are not working or that something inside of them changed, as it did not change, but I assume that development process of Tramp introduced some new problems. > Do you know which setup on my Galaxy I need in order to get the shell > working? Do you have some special settings in order to let sshd running > on your Android devices? I am using Termux package from F-Droid, and inside of Termux I install OpenSSH and run it with `sshd -p 8022' Recently I get these errors: Tramp: Opening connection nil for motorolausb using scp...done File error: Couldn't find a proper `ls' command tramp-error: Couldn't find a proper `ls' command However, I did not change anything. > --8<---------------cut here---------------start------------->8--- > sh: can't create temporary file /data/local/shdcrbul.tmp: Permission denied > --8<---------------cut here---------------end--------------->8--- I do not know for above dirctory, here are my settings which I did not change since long time. '(tramp-connection-properties '(("ssh:motorola" "tmpdir" /storage/emulated/0/tmp))) '(tramp-remote-path '(tramp-default-remote-path "/data/data/com.termux/files/usr/bin/" "/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")) '(tramp-remote-process-environment '("TMPDIR=/storage/emulated/0/tmp" "ENV=''" "TMOUT=0" "LC_CTYPE=''" "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat" "autocorrect=" "correct=")) '(tramp-use-scp-direct-remote-copying t) '(tramp-verbose 8) > Anyway, pls do the usual steps for Tramp errors: > > - Run > - Apply the needed steps to reproduce the problem > - Report exactly those steps, and send the resulting Tramp debug buffer. For now I see: Tramp: Opening connection nil for motorolausb using scp...done File error: Couldn't find a proper `ls' command tramp-error: Couldn't find a proper `ls' command but in just some previous development version I could see the listing but could not enter into any directory, which is strange as I really did not change anything. My `ls' is /data/data/com.termux/files/usr/bin/ls -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/