unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jean Louis <bugs@gnu.support>
Cc: 57044@debbugs.gnu.org
Subject: bug#57044: 29.0.50; tramp-error: Reading directory: Permission denied, /scp:motorolausb:/storage/emulated/0/
Date: Thu, 25 Aug 2022 20:59:07 +0200	[thread overview]
Message-ID: <87k06w40as.fsf@gmx.de> (raw)
In-Reply-To: <Yv0OlDKZcV9oHcz2@protected.localdomain> (Jean Louis's message of "Wed, 17 Aug 2022 18:51:48 +0300")

Jean Louis <bugs@gnu.support> writes:

Hi Jean,
m
it took me some days for replying. Not a technical problem, I simply
don't understand what happens.

> I have tried now again, with emacs -Q and:
>
> (setq tramp-connection-properties
>       '(("ssh:motorola" "tmpdir" /storage/emulated/0/tmp)
> 	("scp:motorola" "tmpdir" /storage/emulated/0/tmp)))
>
> (setq 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"))
>
> (setq tramp-remote-process-environment
>       '("TMPDIR=/storage/emulated/0/tmp" "ENV=''" "TMOUT=0" "LC_CTYPE=''" "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat" "autocorrect=" "correct="))
>
> (setq tramp-use-scp-direct-remote-copying t)
>
> (setq tramp-verbose 10)

I have performed *exactly* the same steps, except using another
hostname. And for me it works.

Have you limited yourself only to these steps you have described?
Nothing, nothing, else? That means, after setting tramp-verbose, trying
'C-x C-f /scp:motorolausb:' ?

I have done so, and in my debug buffer I find

20:55:11.368408 tramp-send-command (6) # test -d /data/data/com.termux/files/usr/bin 2>/dev/null; echo tramp_exit_status $?
20:55:11.384977 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///334e3e2e1923cb6c9ddce9cabb2e367b#$

And this I don't see in your debug buffer.

Best regards, Michael.





  reply	other threads:[~2022-08-25 18:59 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
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 [this message]
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=87k06w40as.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=57044@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /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).