From 2658fed366c4d5f0f73587c11064d64b2360c9f6 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Wed, 27 Mar 2024 00:38:39 -0300 Subject: [PATCH] Fix permissions on generated files --- abra.sh | 2 +- entrypoint.sh.tmpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/abra.sh b/abra.sh index eea2087..40e664f 100644 --- a/abra.sh +++ b/abra.sh @@ -1,5 +1,5 @@ export DISCORD_BRIDGE_YAML_VERSION=v2 -export ENTRYPOINT_CONF_VERSION=v1 +export ENTRYPOINT_CONF_VERSION=v2 export HOMESERVER_YAML_VERSION=v27 export LOG_CONFIG_VERSION=v2 export SHARED_SECRET_AUTH_VERSION=v1 diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 9f54e8b..b9f95bc 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -6,6 +6,7 @@ chown 991:991 /data if [[ ! -f /data/{{ env "DOMAIN" }}.signing.key ]]; then /start.py generate + chown -R 991:991 /data/*.config /data/*.key fi /start.py