Permission denied in /usr/share/dotnet
See original GitHub issueDescription: Runner does not have permission to install in the default directory
Task version: 3.0.0
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
Use action with selfhosted ubuntu runner with non-root user permissions
Expected behavior: Install dotnet
Actual behavior: Permission denied
I tried using the env DOTNET_INSTALL_DIR
but it doesn’t seem to work
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:22 (8 by maintainers)
Top Results From Across the Web
net core - Permision denied for dotnet - Stack Overflow
When I run the command as the root user it works perfectly fine. I don't know if this is because I installed dotnet...
Read more >Permission denied when writing to a folder after deploying to ...
Hi,. i have been getting Permission denied IOexception after deploying a .net core 5 project to a linux ubuntu 20.04, this happens when...
Read more >Permission denied trying to install DotNet on turnkey-core ...
Usually in my basic Linux attempts if I get permission denied, I put sudo in front, ... How to create SSL certs for...
Read more >dotnet publish permission denied
-> % dotnet restore Permission denied to modify the '/usr/local/share/dotnet/sdk/NuGetFallbackFolder' folder. Here are some options to fix this error: ----- 1.
Read more >Permission denied when trying to cd /usr/local/bin from terminal
Instead use something like sudo chmod -R u=rwX,go=rX /usr/local/bin -- the "X" mode sets execute access only if it looks appropriate. – Gordon ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would probably be good update the docs to include instructions to set
On self hosted linux nodes.
@andrewgbell, you are right. The default directory was changed (it’s breaking change), details and motivation can be found here.