Patrick Schoenmakers <[email protected]> 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.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to