From 30f8ab44745bf6f8b9c80df64bd7afbfaf743575 Mon Sep 17 00:00:00 2001 From: Kristian Freeman Date: Tue, 15 Oct 2019 10:52:07 -0500 Subject: [PATCH] More secure wrangler dir permissions --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8ffd308..6fbb129 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,7 +20,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" mkdir -p "$HOME/.wrangler" -chmod -R 777 "$HOME/.wrangler" +chmod -R 770 "$HOME/.wrangler" sanitize "${INPUT_EMAIL}" "email" sanitize "${INPUT_APIKEY}" "apiKey"