From: Michael Albinus <michael.albinus@gmx.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Joel Ray Holveck <joelh@piquan.org>, 23914@debbugs.gnu.org
Subject: 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 [thread overview]
Message-ID: <871t31bkgj.fsf@gmx.de> (raw)
In-Reply-To: <87poqngfvd.fsf@linux-m68k.org> (Andreas Schwab's message of "Sat, 09 Jul 2016 14:23:02 +0200")
Andreas Schwab <schwab@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.
next prev parent reply other threads:[~2016-07-10 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 8:57 bug#23914: 24.5; tramp-get-remote-path fails with some shells if tramp-own-remote-path is used Joel Ray Holveck
2016-07-09 11:38 ` Michael Albinus
2016-07-09 12:23 ` Andreas Schwab
2016-07-10 15:07 ` Michael Albinus [this message]
2016-08-20 10:05 ` Michael Albinus
2016-08-28 8:20 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871t31bkgj.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=23914@debbugs.gnu.org \
--cc=joelh@piquan.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.