Skip to content

Commit f9a5ef3

Browse files
committed
reverts pwfile change of ownership
Resolves conflict between warning given by `mosquitto_passwd` (that the `pwfile` must have root ownership) and the actuality (that `mosquitto` can't read the `pwfile` unless it is owned by 1883. Signed-off-by: Phill Kelley <[email protected]>
1 parent 4c5dda5 commit f9a5ef3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.templates/mosquitto/docker-entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ if [ "$user" = '0' -a -d "/mosquitto" ]; then
1515
chown -Rc mosquitto:mosquitto /mosquitto
1616

1717
# specific requirements for the password file
18-
chown -c root:root "$PWFILE"
1918
chmod -c 600 "$PWFILE"
2019

2120
echo "[IOTstack] end self-repair"

0 commit comments

Comments
 (0)