[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.5.0-pre master/10a0941f4dcc85d95279ae67032ec04463a44d59); C

From: Michael Albinus
Subject: Re: tramp (2.5.0-pre master/10a0941f4dcc85d95279ae67032ec04463a44d59); Couldn't find proper ls command
Date: Wed, 08 Jul 2020 18:51:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <> writes:


> What I can see is that shell-file-name is "/bin/sh" but it is
> incorrect, and I did not change my previous settings, Tramp was
> working just fine. Suddenly it does not work on any Android device.
> local variables:
> ================
> ;; *tramp/scp motorola*
> (setq-local
>  connection-local-variables-alist '((shell-command-switch . "-c") 
> (shell-file-name . "/bin/sh"))
>  default-directory "/scp:motorola:"
>  )

This is the problem. You connect an Android device, which has the shell
somewhere else. Please read the Tramp manual how to set a connection
local variable; I guess you need "/system/bin/sh" as `shell-file-name`.

> < #part type="text/plain" encoding=base64 disposition=attachment 
> buffer="*tramp/scp motorola*" description="*tramp/scp motorola*">
> < #/part>
> < #part type="text/plain" encoding=base64 disposition=attachment 
> buffer="*debug tramp/scp motorola*" description="*debug tramp/scp motorola*">
> < #/part>

This notion works only for GNUS. You don't use it, so please add the
debug buffer manually to your message.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]