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

Tatodetect daemon doesn't run under a non-privileged user. #4

Open
loolmeh opened this issue May 25, 2014 · 2 comments
Open

Tatodetect daemon doesn't run under a non-privileged user. #4

loolmeh opened this issue May 25, 2014 · 2 comments

Comments

@loolmeh
Copy link

loolmeh commented May 25, 2014

Running tatodetect under a normal user gives a permission denied error from booster:

tatoeba@tatovm:~$ tatodetect -c /etc/tatodetect.js 
[NOTICE] website to be launched
[NOTICE] website launched
terminate called after throwing an instance of 'booster::system::system_error'
  what():  system: Permission denied
Aborted

This is kinda important for init scripts, at least handle transitioning from root to some other user after the daemon is started.

@allan-simon
Copy link
Owner

I think you can, as long as you don't use a port < 1024

@loolmeh
Copy link
Author

loolmeh commented May 27, 2014

I'm using port 4242. Can you confirm that this actually works? Maybe I'm overlooking something in my setup.

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

2 participants