Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go get github.com/hakluke/hakrevdns: copying /tmp/go-build114431271/b001/exe/a.out: open /home/ahsan/go/bin/hakrevdns: permission denied #38128

Closed
hunter0x8 opened this issue Mar 28, 2020 · 2 comments
Labels
FrozenDueToAge OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@hunter0x8
Copy link

hunter0x8 commented Mar 28, 2020

What version of Go are you using (go version)?

$ go version
go version go1.14.1 linux/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

Window wsl

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ahsan/.cache/go-build"
GOENV="/home/ahsan/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ahsan/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="/usr/bin/gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build230505770=/tmp/go-build -gno-record-gcc-switches"

What did you do?

just installed the latest version of go from source code and when i try to use go get i face the error

@bcmills
Copy link
Contributor

bcmills commented Mar 30, 2020

Please fill out the complete issue template. What was the exact command you ran, and what was the full error output? (Redact any paths that you don't want to share.)

@bcmills bcmills added OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Mar 30, 2020
@bcmills bcmills changed the title go get github.com/hakluke/hakrevdns: copying /tmp/go-build114431271/b001/exe/a.out: open /home/ahsan/go/bin/hakrevdns: permission denied cmd/go: go get github.com/hakluke/hakrevdns: copying /tmp/go-build114431271/b001/exe/a.out: open /home/ahsan/go/bin/hakrevdns: permission denied Mar 30, 2020
@hunter0x8
Copy link
Author

Thank you bcmills I uninstalled go and installed it again and it fixed the problem.

@golang golang locked and limited conversation to collaborators Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants