[Bug 3018] Forwarding unix-domain sockets to/from remote homedir-relative locations

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 14 04:10:42 AEDT 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3018

Jérôme Carretero <cJ-mr at zougloub.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cJ-mr at zougloub.eu

--- Comment #1 from Jérôme Carretero <cJ-mr at zougloub.eu> ---
When the session subprocess is created, its cwd is /.

Given that a user can always access / using an absolute path, maybe it
would be reasonable to chdir to the user's $HOME if it exists?

Then a relative path (without the need of ~-expanding) in the
expression of RemoteForward would be relative to $HOME...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list