Comments (5)
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.
Ahh thanks!!!
from tacticalrmm.
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.
No worries, thanks.
from tacticalrmm.
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)
- Alerts are not filtered by account HOT 1
- Feature Request: Do not "fail" checks/tasks for scripts that "Run As User" and the user is not logged in HOT 1
- Feature Request: Add a "Run As User" option to checks and tasks to override the script "Run As User" option HOT 2
- Notifications sending for agents after maintenance mode is switched off
- Search by Windows Version HOT 1
- Postgresql issue - Server Error 500 after Update to 16.x past a few days
- Remote Background Tools - Pop Out
- Remote Screen Thumbnail HOT 2
- Feature Request: linux update/swotware integration HOT 2
- Notifications based on allowed Clients/Sites
- Define and display URL Actions grouped as Client, Agent or Globally targeted.
- feature request HOT 12
- Agent Overdue issue in Tactical RMM HOT 2
- All of sudden , someother client came to our rmm console. this is a bug, HOT 6
- macOS Ventura boot loop (arm64 and amd64) HOT 5
- Feature Request - Ability to run tasks on first audit HOT 1
- Numbers of agents beside Site HOT 2
- Feature Request: Scheduled PatchPolicy on specific weekday HOT 1
- Feature request: Network Load Check - like CPU Load/Memory Check HOT 1
- Feature Request: Cross platform scripting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tacticalrmm.