We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go version
$ go version go version go1.11.2 darwin/amd64
Yes
go env
$ go env GOARCH="amd64" GOBIN="" GOCACHE="/Users/nqv/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/nqv/go" GOPROXY="" GORACE="" GOROOT="/Users/nqv/go/go1.11.2.darwin-amd64" GOTMPDIR="" GOTOOLDIR="/Users/nqv/go/go1.11.2.darwin-amd64/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="/tmp/quote/go.mod" 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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/py/6npc2tsd1g1_l0f92l0s3760vrtpsh/T/go-build816858901=/tmp/go-build -gno-record-gcc-switches -fno-common"
cd /tmp git clone https://github.com/rsc/quote.git cd quote go mod download rm -rf ~/go/pkg/mod
go/pkg/mod (and ~/go) can be deleted from filesystem by myself.
go/pkg/mod
~/go
rm: /Users/nqv/go/pkg/mod/.../<FILE_NAME>.go: Permission denied
Looks like all files under /go/pkg/mod have permission 0444
The text was updated successfully, but these errors were encountered:
I intend to fix this, looking into it now
Sorry, something went wrong.
@NerdsvilleCEO thanks. I had a quick look as well and it seems due to
go/src/cmd/go/internal/modfetch/unzip.go
Line 116 in ae65615
However, I'm not sure if it's intended or not.
This is intended. Please look at the conversation at #27161. Thank you.
No branches or pull requests
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?
What did you expect to see?
go/pkg/mod
(and~/go
) can be deleted from filesystem by myself.What did you see instead?
Looks like all files under /go/pkg/mod have permission 0444
The text was updated successfully, but these errors were encountered: