From 4780bc887b5e4f52250d272331cb4c38b26f358e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 Nov 2023 11:16:46 -0600 Subject: [PATCH] changed permissions on secret.yaml --- scripts/create_password.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/create_password.sh b/scripts/create_password.sh index 23ce53b..1089390 100755 --- a/scripts/create_password.sh +++ b/scripts/create_password.sh @@ -11,4 +11,5 @@ read -s MOSQUITTO_PASSWORD docker compose -f $COMPOSE_FILE run -it --rm mqtt mosquitto_passwd -b -c /mosquitto/config/pwfile homeassistant $MOSQUITTO_PASSWORD -echo "password: $MOSQUITTO_PASSWORD" > $REPO_DIR/zigbee2mqtt/secret.yaml \ No newline at end of file +echo "password: $MOSQUITTO_PASSWORD" > $REPO_DIR/zigbee2mqtt/secret.yaml +chmod 600 $REPO_DIR/zigbee2mqtt/secret.yaml \ No newline at end of file