short = every reboot is trashing the /opt/mycroft/skills and /opt/mycroft/enclosure ownership and files.
Long: For another app reason, downed my picroft (Raspberry 3) that has run pretty good for a year. Made a backup image of SD on a PC. Powering up, PiCroft needed yet another pairing (did it). A later reboot, trashed the pairing.
Getting angry, rolled up sleives and debugged in. Found the /opt/mycroft/enclosure is owned by root now. The /opt/mycroft/skills/ now has 6 folders owned by ‘pi’ dated May 11 (and one Jun 24). Skill-pairing is owned by ‘root’ and is dated Apr 25.
Six times I have done “sudo chown -R mycroft:mycroft” the paths, set the pairing, set the woman’s voice. Tried restarts, auto_run.sh, update.sh, apt-get * and any thing else thought up. All are good and leave piCroft working.
“sudo reboot” trashes the ownership and dates.
What is going on at boot? What should be fixed?