From 2390ba420d320157200789c59e1f9dced9d5a2df Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Tue, 3 Nov 2020 01:06:07 +0300 Subject: [PATCH] add chown for IdentityService --- images/macos/provision/core/powershell.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/images/macos/provision/core/powershell.sh b/images/macos/provision/core/powershell.sh index 12beeca6..e0c0c0ec 100644 --- a/images/macos/provision/core/powershell.sh +++ b/images/macos/provision/core/powershell.sh @@ -33,4 +33,7 @@ sudo pwsh -command "& {Import-Module Az; Enable-AzureRmAlias -Scope LocalMachine sudo ln -s /usr/local/bin/pwsh /usr/local/bin/powershell # fix ~/.azure directory permissions -sudo chown -R ${USER}: $HOME/.azure \ No newline at end of file +sudo chown -R ${USER}: $HOME/.azure + +# fix permissions for Az.Account version 2.* +sudo chown -R ${USER}: $HOME/.local/share/.IdentityService \ No newline at end of file