From 28630a1d71e6469513063922a33db5eae14c50d3 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Tue, 25 Aug 2020 16:16:45 +0300 Subject: [PATCH] Create DATA_DIR explicitly with 0750 permissions. --- scripts/launch_local_testnet.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/launch_local_testnet.sh b/scripts/launch_local_testnet.sh index 5f7514890..14c974517 100755 --- a/scripts/launch_local_testnet.sh +++ b/scripts/launch_local_testnet.sh @@ -161,6 +161,8 @@ if [[ "$REUSE_EXISTING_DATA_DIR" == "0" ]]; then rm -rf "${DATA_DIR}" fi +mkdir -m 0750 -p "${DATA_DIR}" + DEPOSITS_FILE="${DATA_DIR}/deposits.json" VALIDATORS_DIR="${DATA_DIR}/validators"