GNU bug report logs - #23914
24.5; tramp-get-remote-path fails with some shells if tramp-own-remote-path is used

Previous Next

Package: emacs;

Reported by: Joel Ray Holveck <joelh <at> piquan.org>

Date: Fri, 8 Jul 2016 08:58:02 UTC

Severity: normal

Found in version 24.5

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 23914 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Joel Ray Holveck <joelh <at> piquan.org>, 23914 <at> debbugs.gnu.org
Subject: Re: bug#23914: 24.5;
 tramp-get-remote-path fails with some shells if tramp-own-remote-path
 is used
Date: Sun, 10 Jul 2016 17:07:24 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

>> evaluating its ~/.profile and friends. If somebody knows a portable way,
>> how one could determine the $PATH settings of a login shell, I'll add it
>> to Tramp happily.
>
> Traditionally, the bourne shell acts as a login shell if argv[0] starts
> with '-', and that's how login(1) does it.  Unfortunately, Emacs does
> not provide a way to alter the value of argv[0] passed to the inferior.

This wouldn't help. Tramp needs to invoke a login shell on the remote host.

I have added a note to the Tramp manual about this restriction (the
remote shell must support -l in order to use tramp-own-remote-path). I
have no idea what could be done else, so I propose to close this bug.

> Andreas.

Best regards, Michael.




This bug report was last modified 8 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.