Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mosquitto_passwd -c creates root-owned file when mosquitto is to be run by mosquitto user #3213

Open
calumapplepie opened this issue Feb 14, 2025 · 0 comments
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.

Comments

@calumapplepie
Copy link

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 systems mosquitto is run as its own user; mosquitto_passwd should thus detect this case (or even assume it) and automatically chgrp and chown to mosquitto.

@github-actions github-actions bot added the Status: Available No one has claimed responsibility for resolving this issue. label Feb 14, 2025
@ralight ralight added Status: Accepted It's clear what the subject of the issue is about, and what the resolution should be. Component: mosquitto-apps labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants