Mosquitto_passwd -c creates root-owned file when mosquitto is to be run by mosquitto user #3213
Labels
Component: mosquitto-apps
Status: Accepted
It's clear what the subject of the issue is about, and what the resolution should be.
Status: Available
No one has claimed responsibility for resolving this issue.
If
mosquitto_passwd
is run as root, it creates a file owned by root and with permission only for root to read. However, on many systemsmosquitto
is run as its own user;mosquitto_passwd
should thus detect this case (or even assume it) and automaticallychgrp
andchown
to mosquitto.The text was updated successfully, but these errors were encountered: