diff --git a/contrib/docker/entrypoint.sh b/contrib/docker/entrypoint.sh index 26c685a8..5bbf0f0a 100755 --- a/contrib/docker/entrypoint.sh +++ b/contrib/docker/entrypoint.sh @@ -6,7 +6,7 @@ CONF_DIR="/etc/yggdrasil-network" if [ ! -f "$CONF_DIR/config.conf" ]; then echo "generate $CONF_DIR/config.conf" - yggdrasil --genconf > "$CONF_DIR/config.conf" + (umask 037 && yggdrasil --genconf > "$CONF_DIR/config.conf") fi yggdrasil --useconf < "$CONF_DIR/config.conf"