[Top][All Lists]

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

Re: tram (2.2.11-pre) tramp-own-remote-path not set anymore on

From: Michael Albinus
Subject: Re: tram (2.2.11-pre) tramp-own-remote-path not set anymore on
Date: Tue, 03 Nov 2015 10:17:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Patrick Schoenmakers <address@hidden> writes:

> Hi, 

Hi Patrick,

> "However, with current Emacs 25.0.50 I've seen that Tramp never went
> through a login shell on the remote side, and your private $PATH
> hasn't been set therefore. So I've changed the check for your $PATH
> settings from echo \"$PATH\" to /bin/sh -l -c 'echo \"$PATH\"'"
> On all emacs versions >24 this doesn't seem to work for AIX. On a RHEL
> linux server this seems to work fine.
> Message 
> ‘/bin/sh -l -c ’echo d2bea28cda67a7d55735f48f5a0cd674 \"$PATH\"’’
> returns with error

Likely it means, that the shell behind /bin/sh does not accept the "-l"
argument for login. Tramp does not know, which shell is called via
/bin/sh, and which arguments this special shell does accept. So this
must be overwritten in your case.

What is the argument of that shell in order to open a login shell? Could
show the help output of that shell?

Best regards, Michael.

reply via email to

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