Skip to content

Commit

Permalink
Fix permissions for ACL file
Browse files Browse the repository at this point in the history
  • Loading branch information
jzombie committed Aug 1, 2024
1 parent ba99b13 commit 40e8dc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mosquitto/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@ fi
echo "Contents of /var/lib/mosquitto after checking for persistence file:"
ls -l /var/lib/mosquitto

# Set correct permissions for aclfile
chmod 0700 /mosquitto/config/aclfile

# Run Mosquitto as the mosquitto user
exec su mosquitto -c "mosquitto -c /mosquitto/config/mosquitto.conf"

0 comments on commit 40e8dc2

Please sign in to comment.