subfinder: Docker configuration persistence errors
What’s the problem (or question)?
Config file error while running the binary even config file placed under $GOPATH/bin
Do you have an idea for a solution?
Not sure!
How can we reproduce the issue?
- Run the
subfinder
from anywhere in root path
What are the running context details?
- Installation method (
go get
): - Client OS (
Ubuntu
)
root@vps:~# ls $GOPATH/bin | grep config
config.json
root@vps:~# subfinder
__ ___ __ __
.-----.--.--| |--.' _|__.-----.--| .-----.----.
|__ --| | | _ | _| | | _ | -__| _|
|_____|_____|_____|__| |__|__|__|_____|_____|__|
SubFinder v0.1.0 Made with ❤ by @Ice3man
==================================================open ./config.json: no such file or directory
root@vps:~#
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (19 by maintainers)
@Ice3man543 thanks for the super fast response 😃
Personally I think having it in
$GOPATH/bin
(or wherever else the binary is located) is a little strange / not really the place for it. Something under~/.config/
would make more sense IMO as it’s where many tools store their user-specific (as apposed to system-wide) configuration files.