aboutsummaryrefslogtreecommitdiff
path: root/src/dotnet/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotnet/install.sh')
-rw-r--r--src/dotnet/install.sh2
1 files changed, 1 insertions, 1 deletions
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