Coder Social home page Coder Social logo

Comments (5)

bradhawkins85 avatar bradhawkins85 commented on May 28, 2024

I noticed /rmm/api/env permissions were set to root:root when I did the last upgrade, having said that I did accidently run the update script as root once so that may have been my issue.

I ran chmod tactical:tactical /rmm -R and re-ran the upgrade script to correct my issue.

I always (other than that one time) run the upgrade as the tactical user.

from tacticalrmm.

rtwright68 avatar rtwright68 commented on May 28, 2024

Ahh thanks!!!

from tacticalrmm.

wh1te909 avatar wh1te909 commented on May 28, 2024

Sorry about that, I recently added a check in the update script to alert you not to run as root so yea if you ran as root before it messed up perms. It should be run with whatever user you installed with. Run these commands just to fix all perms.

sudo chown ${USER}:${USER} -R /meshcentral
sudo chown ${USER}:${USER} -R /rmm
sudo chown ${USER}:${USER} /var/log/celery
sudo chown ${USER}:${USER} -R /srv/salt/
sudo chown ${USER}:www-data /srv/salt/scripts/userdefined
sudo chown -R $USER:$GROUP /home/${USER}/.npm
sudo chown -R $USER:$GROUP /home/${USER}/.config
sudo chown www-data:www-data -R /var/www/rmm/dist
sudo chmod 750 /srv/salt/scripts/userdefined

from tacticalrmm.

rtwright68 avatar rtwright68 commented on May 28, 2024

No worries, thanks.

from tacticalrmm.

wh1te909 avatar wh1te909 commented on May 28, 2024

ive added the commands to fix permissions to the update.sh script so no matter what now perms will be fixed on every update, just never run it as root

from tacticalrmm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.