Permission Denied for go build
#29063
Labels
FrozenDueToAge
GoCommand
cmd/go
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run
output permission denied errors listed in below.What did you expect to see?
Compilation finished with exit code 0
What did you see instead?
go build internal/cpu: mkdir /usr/local/go/pkg/js_wasm: permission denied go build internal/race: open /usr/local/go/pkg/js_wasm/internal/race.a: no such file or directory go build runtime/internal/atomic: mkdir /usr/local/go/pkg/js_wasm: permission denied go build sync/atomic: mkdir /usr/local/go/pkg/js_wasm: permission denied go build runtime/internal/sys: open /usr/local/go/pkg/js_wasm/runtime/internal/sys.a: no such file or directory
Others
There are some issues mentioned the same type of error, like microsoft/vscode-go#1874 , but the solutions listed there suggests using
go build
. However, here, the error is caused bygo build
command, which confused me.The text was updated successfully, but these errors were encountered: