From 1bf18b5a8a5b4b91d597f6b1109b9ccc07ea6f4b Mon Sep 17 00:00:00 2001 From: sergei-pyshnoi Date: Mon, 10 Jul 2023 16:24:32 +0200 Subject: [PATCH 1/2] add chown for .cache and .config for arm64 --- images/macos/provision/core/powershell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/core/powershell.sh b/images/macos/provision/core/powershell.sh index 6d3ce1b6..1060a99e 100644 --- a/images/macos/provision/core/powershell.sh +++ b/images/macos/provision/core/powershell.sh @@ -42,7 +42,7 @@ for module in ${psModules[@]}; do done if [[ $arch == "arm64" ]]; then - sudo chown -R $USER ~/.local + sudo chown -R $USER ~/.local ~/.cache ~/.config fi # A dummy call to initialize .IdentityService directory From d4a497eaab70af6c4aa0f49235d0add039dc2023 Mon Sep 17 00:00:00 2001 From: sergei-pyshnoi Date: Tue, 11 Jul 2023 11:41:45 +0200 Subject: [PATCH 2/2] add comment --- images/macos/provision/core/powershell.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/images/macos/provision/core/powershell.sh b/images/macos/provision/core/powershell.sh index 1060a99e..424909f2 100644 --- a/images/macos/provision/core/powershell.sh +++ b/images/macos/provision/core/powershell.sh @@ -41,6 +41,7 @@ for module in ${psModules[@]}; do fi done +# Fix permission root => runner after installing powershell for arm64 arch if [[ $arch == "arm64" ]]; then sudo chown -R $USER ~/.local ~/.cache ~/.config fi