Closed Lambdara closed 5 years ago
I'd like to add that it doesn't really matter if one can use ~
for home or not; but I think I literally wasted hours on this, and having documentation clearly stating this problem or an accurate error would have helped me and could help others in the future.
@Uwila ~ is a shell syntax that expands on the command line, but only if not between quotes. It's not easy to support it within configuration files without introducing new syntax, especially if it's JSON since everything is in quotes. Also if there's a valid configuration where the path to a log file includes a tilde such as "/var/log/data/~jason/*.log" then it could be confusing whether it should be expanded or not.
I may consider adding to documentation to be clear the path won't undergo any expansions or any other transformations.
For example, when my
persist_directory
is~/log-courier
I getRegistry write failed: open ~/log-courier/.log-courier.new: no such file or directory
. I triedtouch
to create it but that didn't help. I run from the command line so permissions shouldn't matter (users are the same) but to be certain I also usedchmod 777
on it, but nothing seems to work.However if I just replace
~
with the actual home directory (absolute path) then it works fine.Same kind of issue for
ssl ca
.