From 0ed472aa25bd1a21acf431cbb85b7528ff0cf10a Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Wed, 15 Jun 2022 09:53:43 -0700 Subject: Fix permissions: add username:user_group (#50) * add username:user_group * fix remaining permissions * add * * remove * --- src/dotnet/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotnet/install.sh') diff --git a/src/dotnet/install.sh b/src/dotnet/install.sh index 9484bbe..5f1dc93 100644 --- a/src/dotnet/install.sh +++ b/src/dotnet/install.sh @@ -419,7 +419,7 @@ else install_using_dotnet_releases_url "${DOTNET_SDK_OR_RUNTIME}" - chown -R :dotnet "${TARGET_DOTNET_ROOT}" + chown -R "${USERNAME}:dotnet" "${TARGET_DOTNET_ROOT}" chmod -R g+r+w "${TARGET_DOTNET_ROOT}" find "${TARGET_DOTNET_ROOT}" -type d | xargs -n 1 chmod g+s fi -- cgit v1.2.3