From a9a87e8b647832a8484511ad88d642409b1857c2 Mon Sep 17 00:00:00 2001 From: Erik Martin-Dorel Date: Sat, 11 May 2024 01:16:05 +0200 Subject: [PATCH] fix: permissions (needed) --- entrypoint.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d655f88..8877410 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -204,14 +204,12 @@ if test -z "$INPUT_CUSTOM_SCRIPT_EXPANDED"; then exit 1 fi -# startGroup "set permissions for GitHub Actions runner command files in $DIR_GITHUB_RUNNER_FILE_COMMANDS" -# -# chmod -Rv a+rw "$DIR_GITHUB_RUNNER_FILE_COMMANDS" -# chmod -v a+rwx "$DIR_GITHUB_RUNNER_FILE_COMMANDS/.." || true -# echorun ls -la "$DIR_GITHUB_RUNNER_FILE_COMMANDS" -# echorun ls -la "$DIR_GITHUB_RUNNER_FILE_COMMANDS/.." || true -# -# endGroup +startGroup "Set permissions for GHA runner command files in $DIR_FILE_COMMANDS" +# a.k.a. $HOST_GITHUB_RUNNER_FILE_COMMANDS on the host. + +chmod -R a+rw "$DIR_FILE_COMMANDS" + +endGroup startGroup "Pull docker image"