Subject: bug#57044: 29.0.50; tramp-error: Reading directory: Permission denied, /scp:motorolausb:/storage/emulated/0/

From: Jean Louis <[email-masked]>
Date: Tue, 16 Aug 2022 11:55:05 +0300

* Michael Albinus <[email-masked]> [2022-08-14 18:04]:
>   (setq tramp-verbose 10
>         tramp-connection-properties '(("ssh:motorola" "tmpdir" "/storage/emulated/0/tmp"))
>         tramp-remote-path '(...)
>         tramp-remote-process-environment '(...))
> 
> - Open a file like "C-x C-f /scp:motorolausb:"
> 
> - Send the *full* debu buffer.

(add-to-list 'tramp-remote-path "/data/data/com.termux/files/usr/bin")
("/data/data/com.termux/files/usr/bin" 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" ...)

(setq tramp-verbose 10
      tramp-connection-properties '(("scp:motorola" "tmpdir" "/storage/emulated/0/tmp")))

then I did what you said and debug is attached.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/