unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 57044@debbugs.gnu.org
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	[thread overview]
Message-ID: <YvV1sf3IExOJbNyd@protected.localdomain> (raw)
In-Reply-To: <87edxrkt8d.fsf@gmx.de>

* Michael Albinus <michael.albinus@gmx.de> [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 <emacs -Q --eval '(setq tramp-verbose 10)'>
> - 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/





  reply	other threads:[~2022-08-11 21:33 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 19:25 bug#57044: 29.0.50; tramp-error: Reading directory: Permission denied, /scp:motorolausb:/storage/emulated/0/ Jean Louis
2022-08-08  8:57 ` Michael Albinus
2022-08-11 21:33   ` Jean Louis [this message]
2022-08-12 11:07     ` Michael Albinus
2022-08-13  5:20       ` Jean Louis
2022-08-13  9:44         ` Michael Albinus
2022-08-14  4:12           ` Jean Louis
2022-08-14 15:03             ` Michael Albinus
2022-08-15 12:13               ` Michael Albinus
2022-08-15 17:39                 ` Michael Albinus
2022-08-16  4:43                 ` Jean Louis
2022-08-16  6:06                   ` Michael Albinus
2022-08-16  8:50                     ` Jean Louis
2022-08-16  8:46                 ` Jean Louis
2022-08-16  8:55               ` Jean Louis
2022-08-16 13:19                 ` Michael Albinus
2022-08-17 13:47           ` Jean Louis
2022-08-14  4:08       ` Jean Louis
2022-08-17 15:51   ` Jean Louis
2022-08-25 18:59     ` Michael Albinus
2022-09-03  3:50       ` Jean Louis
2022-09-06 11:18         ` Michael Albinus
2022-09-15 15:24           ` Michael Albinus
2022-09-15 19:08             ` Jean Louis
2022-09-16  9:05               ` Michael Albinus
2022-09-16 11:14                 ` Jean Louis
2022-09-15 21:42             ` Jean Louis
2022-09-16 11:44               ` Michael Albinus
2022-09-17  2:12                 ` Jean Louis
2022-09-17  6:35                   ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YvV1sf3IExOJbNyd@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=57044@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).