help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: tramp-sshfs doesn't seem to respect tramp-remote-path


From: Michael Albinus
Subject: Re: tramp-sshfs doesn't seem to respect tramp-remote-path
Date: Tue, 30 Jul 2024 18:47:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Luiz Romário Santana Rios <luizromario@tecgraf.puc-rio.br> writes:

> Hello,

Hi,

> I've been trying out tramp-sshfs and it works fine, but for some
> reason it doesn't seem to respect tramp-remote-path. My remote machine
> has a very old git version so I needed to install a newer git
> elsewhere and make the path point there for magit to work. Under
> tramp-ssh this works fine, but it doesn't under tramp-sshfs (magit
> complains about the git version).
>
> Opening up eshell I noticed the following:
>
> - git --version -> git version 1.8.3.1
>
> - which git -> /sshfs:luizromario@remote-machine:/usr/bin/git
>
> - echo $PATH -> /usr/bin
>
> Is this a bug? Am I doing something wrong?

tramp-remote-path is used only for external processes of Tramp methods,
which are handled by tramp-sh-file-name-handler. That is, all methods
defined in tramp-sh.el and tramp-container.el.

> Thanks in advance

Best regards, Michael.



reply via email to

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