bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#53847: 28.0.91; Tramp SSHFS: incorrect remote home directory


From: Michael Albinus
Subject: bug#53847: 28.0.91; Tramp SSHFS: incorrect remote home directory
Date: Fri, 11 Feb 2022 09:44:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Version: 28.2

Michael Albinus <michael.albinus@gmx.de> 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"?

Should be fixed now, pushed to master. It will also be contained in the
upcoming Tramp 2.5.2.2 on GNU ELPA.

I'm closing the bug.

Best regards, Michael.





reply via email to

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