[Bug 3083] Passing tilde (HOME) in file option results in cryptic error
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Oct 21 09:55:11 AEDT 2019
https://bugzilla.mindrot.org/show_bug.cgi?id=3083
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
Tilde expansion is a function of the shell, and you told your shell not
to do it by quoting your argument. Compare (this is bash):
$ echo ~/.ssh/known_hosts
/home/dtucker/.ssh/known_hosts
$ echo "~/.ssh/known_hosts"
~/.ssh/known_hosts
"~" is a valid path component on most if not all Unix filesystems.
--
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.
More information about the openssh-bugs
mailing list