Skip to content

Permission denied in /usr/share/dotnet #327

@wzchua

Description

@wzchua

Description:
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions