Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ricochet-cli shouldn't start #5

Open
ilovelinux opened this issue May 7, 2018 · 0 comments
Open

Ricochet-cli shouldn't start #5

ilovelinux opened this issue May 7, 2018 · 0 comments

Comments

@ilovelinux
Copy link

ilovelinux commented May 7, 2018

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 ilovelinux changed the title Ricochet should fail to start Ricochet-cli shouldn't start May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant