build (self-hosted, linux)
Failed to install dotnet runtime + cli, exit code: 1. cp: cannot create directory '/usr/share/dotnet/host/fxr/8.0.10/': Permission denied
cp: cannot create directory '/usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/': 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.10/dotnet-runtime-8.0.10-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.10 failed to install with an error.
Show more
Show less
build (self-hosted, windows)
Failed to install dotnet runtime + cli, exit code: 1. dotnet-install: Failed to extract package. Exception: Access to the path '8.0.10' is denied.
New-Item : Access to the path '8.0.10' is denied.
At C:\actions-runner\_work\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1:863 char:21
+ ... New-Item -ItemType Directory -Force -Path $DestinationDir ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (C:\Program Files\dotnet\host\fxr\8.0.10:String) [New-Item], Unauthori
zedAccessException
+ FullyQualifiedErrorId : CreateDirectoryUnauthorizedAccessError,Microsoft.PowerShell.Commands.NewItemCommand
Show more
Show less