Failed to install dotnet runtime + cli, exit code: 1. cp: cannot create directory '/usr/share/dotnet/host/fxr/8.0.4/': Permission denied
cp: cannot create directory '/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.4/': Permission denied
dotnet_install: Error: Failed to verify the version of installed `.NET Core Runtime`.
Installation source: https://dotnetcli.azureedge.net/dotnet/Runtime/8.0.4/dotnet-runtime-8.0.4-linux-x64.tar.gz.
Installation location: /usr/share/dotnet.
Report the bug at
https://github.com/dotnet/install-scripts/issues.
dotnet_install: Error: `.NET Core Runtime` with version = 8.0.4 failed to install with an error.