-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: GOMODCACHE module version dirs are only readable by owner #42344
Comments
I think I figured out why this happens. go/src/cmd/go/internal/modfetch/fetch.go Lines 166 to 178 in f4cbf34
The code in the other branch of |
Ooh, nice! Does that mean that |
Yep, seems so. |
Nice. In that case, closing as fixed at head. |
What version of Go are you using (
go version
)?and
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?
I'd like the module version root directories (e.g.
$GOMODCACHE/github.com/fatih/color@v1.10.0
) to havedr-xr-xr-x
(555) permissions so that other users can read the cache.What did you see instead?
The module root directories are only readable by their owner -- they have
dr-x------
(500) permissions. The nearby parent/child directories and files are all world-readable, though.Per @bcmills, this seems like a nearly idential situation to #40895.
The text was updated successfully, but these errors were encountered: