Create DATA_DIR explicitly with 0750 permissions.

This commit is contained in:
cheatfate 2020-08-25 16:16:45 +03:00 committed by zah
parent add22a20e1
commit 28630a1d71
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,8 @@ if [[ "$REUSE_EXISTING_DATA_DIR" == "0" ]]; then
rm -rf "${DATA_DIR}" rm -rf "${DATA_DIR}"
fi fi
mkdir -m 0750 -p "${DATA_DIR}"
DEPOSITS_FILE="${DATA_DIR}/deposits.json" DEPOSITS_FILE="${DATA_DIR}/deposits.json"
VALIDATORS_DIR="${DATA_DIR}/validators" VALIDATORS_DIR="${DATA_DIR}/validators"