From: Michael Albinus <michael.albinus@gmx.de>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 53847@debbugs.gnu.org
Subject: bug#53847: 28.0.91; Tramp SSHFS: incorrect remote home directory
Date: Wed, 09 Feb 2022 17:10:17 +0100 [thread overview]
Message-ID: <871r0ct40m.fsf@gmx.de> (raw)
In-Reply-To: <wvr4tudakaum.fsf@gmail.com> (Philipp Stephani's message of "Mon, 07 Feb 2022 15:30:41 +0100")
Philipp Stephani <p.stephani2@gmail.com> writes:
Hi Philipp,
> To reproduce this, you need two GNU/Linux machines with the same user
> name but different home directories. Assume that on host 1 the user's
> home directory is /home1/user, and that on host 2 the user's home
> directory is /home2/user. With the SSH protocol, home directory
> expansion works as expected:
>
> However, this fails with SSHFS:
Tilde expansion is not possible for sshfs (and adb, rclone) methods of
Tramp. I've added a check, and Tramp raises an error now when it detects
a tilde. Pushed to master.
However, this breaks shell-command for these methods. In shell-mode,
comint-input-ring-file-name is set to something like
"/sshfs:user@host:~/.history". Expanding this file name raises the error
now. I have no idea how to fix this. Setting comint-input-ring-file-name
to "/sshfs:user@host:/dev/null"?
Best regards, Michael.
next prev parent reply other threads:[~2022-02-09 16:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-07 14:30 bug#53847: 28.0.91; Tramp SSHFS: incorrect remote home directory Philipp Stephani
2022-02-09 16:10 ` Michael Albinus [this message]
2022-02-11 8:44 ` Michael Albinus
2022-03-09 9:17 ` Philipp Stephani
2022-03-09 9:33 ` Michael Albinus
2022-03-10 11:37 ` Michael Albinus
2022-03-18 16:53 ` Philipp Stephani
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871r0ct40m.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=53847@debbugs.gnu.org \
--cc=p.stephani2@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).