Mailing List Archive

[Bug 3048] ssh reads from the wrong directory in user namespace
https://bugzilla.mindrot.org/show_bug.cgi?id=3048

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |djm@mindrot.org

--- Comment #4 from Damien Miller <djm@mindrot.org> ---
hmm, ssh.1 doesn't mention in any context related to files it loads, it
just uses '~'

--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3048] ssh reads from the wrong directory in user namespace [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3048

--- Comment #5 from chrysn@fsfe.org ---
Right, it says that it will *set* HOME. (It's just very tempting to
misread the "ENVIRONMENT" section to mean what it means in many other
programs: which variables are *consumed*).

Other docs, such as `contrib/cygwin/README` mention that HOME is *not*
used, but it's unclear whether that's platform dependent, and there are
occurrences of HOME spread in various files.

So there is no inconsistency with documentation. What remains is the
inconsistency with the behavior of shells (looked up bash and zsh), and
all language provided tilde expansions I've checked (GNU libc, Python).

If there is (given Darren's comment: if there is still) a reason to
only use getpwnam, that's fine with me, but please point it out in the
docs (along with the rationale for the behavior) -- but my impression
is that this behavior is a remnant of a long unused mechanism.

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs