Closed SekoiaTree closed 3 weeks ago
Hi there, thanks for reporting this.
I'm guessing you've already come to the conclusion that you shouldn't run Mycroft with sudo. But it would be nice to add in something that actually prevents people from causing this. Or at least makes them jump through a small hoop to make sure they truly want to do it.
I've marked it as help wanted so others might take a look. It's not something we'll be prioritizing at the moment.
Thanks
Understandable, thanks!
Closing Issue since we're archiving the repo
Describe the bug Launching start_mycroft.sh as superuser makes the files in /tmp/mycroft only readable to root. This crashes the bus when launched in non-superuser. Launching as root causes other issues.
To Reproduce Steps to reproduce the behavior:
sudo ./start-mycroft.sh all
sudo ./stop-mycroft.sh
./start-mycroft.sh all
./start-mycroft.sh cli
Expected behavior CLI connects to bus.
Log files