mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 01:03:18 +08:00
Merge pull request #7895 from sergei-pyshnoi/macos13-permission-fix
[MacOS] Change directory owner root => runner for .cache and .config in arm64
This commit is contained in:
@@ -41,8 +41,9 @@ 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
|
||||
sudo chown -R $USER ~/.local ~/.cache ~/.config
|
||||
fi
|
||||
|
||||
# A dummy call to initialize .IdentityService directory
|
||||
|
||||
Reference in New Issue
Block a user