Mycroft-core: Solved: When Starting Mycroft via Command line, it constantly wants the Sudo password to reset the permissions on /opt/mycroft/skills directory

Created on 22 May 2019  路  2Comments  路  Source: MycroftAI/mycroft-core

How to submit an Issue to a Mycroft repository

When submitting an Issue to a Mycroft repository, please follow these guidelines to help us help you.

Be clear about the software, hardware and version you are running


check version

I am running mycroft-core version 19 oh 2, release 7
You are on the latest version.

I have installed Mycroft on OpenSuSE 15
AMD 8 core 64 bit processor
16 Gig RAM

My problem. When I launch ./start-myrcroft.sh all and ./start-mycroft.sh cli, each time and every time it asks for the sudo password to reset the permissions of /opt/mycroft/skills directory. the single script: ./start-mycroft.sh calls other scripts which act on resetting the permissions on the skills directory. I don't know which one or I would remove that call. Please help! I'm sick of the sudo password.

Changing ownership of /opt/mycroft to user: trekjunky with group: users
[sudo] password for root:
all 5 logs are zipped up in the file below.
mycroft.tar.gz


Most helpful comment

I copied your fork into my copy of prepare-msm.sh and it worked YAYAYAYAYAYAYAYAYAYA
Thanks so much!!!!!!!!!!

All 2 comments

Hi Trekjunky,

I had a look at this and think I've found the cause. I've submitted a fix that you'll see linked just above but this won't get pushed out to devices running stable for another two weeks. If you're running dev with autoupdates it will be included as soon as it's been reviewed by the team. Otherwise you can grab the new version of ~/mycroft-core/scripts/prepare-msm.sh from my fork, or modify the file locally and it should stop prompting you for the sudo password each time.

Essentially the permissions were set correctly but there was a small bug when testing if those permissions were correct. The existing version doesn't prompt on many machines because lots of people have their username and usergroup called the same thing. I'm assuming others have experienced the behaviour that you have and just assumed it's normal.

Thanks for flagging it and helping us improve Mycroft-core :slightly_smiling_face:

I copied your fork into my copy of prepare-msm.sh and it worked YAYAYAYAYAYAYAYAYAYA
Thanks so much!!!!!!!!!!

Was this page helpful?
0 / 5 - 0 ratings