ricochet-go icon indicating copy to clipboard operation
ricochet-go copied to clipboard

Ricochet-cli shouldn't start

Open ilovelinux opened this issue 6 years ago • 0 comments

I built ricochet-cli and started it without the permissions to open /var/llib/tor/control_auth_cookie, it's the result:

$ ./ricochet-cli
Connecting to backend...
Network error: failed to read COOKIEFILE: open /var/lib/tor/control_auth_cookie: permission denied
Your ricochet ID is
You have no contacts :(
>

I think that ricochet-cli should not start at all https://github.com/ricochet-im/ricochet-go/blob/master/core/network.go#L612 is called by https://github.com/ricochet-im/ricochet-go/blob/master/core/network.go#L533 that is called by https://github.com/ricochet-im/ricochet-go/blob/master/core/network.go#L470 that is called by https://github.com/ricochet-im/ricochet-go/blob/master/core/network.go#L110 that is called by https://github.com/ricochet-im/ricochet-go/blob/master/ricochet-cli/main.go#L231 and so on

ilovelinux avatar May 07 '18 14:05 ilovelinux