Jean Louis <[email protected]> writes: Hi,
> 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.
