]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: make subdirectories unwritable too
authorRuss Cox <rsc@golang.org>
Tue, 17 Jul 2018 01:29:39 +0000 (21:29 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 18 Jul 2018 02:09:00 +0000 (02:09 +0000)
commit30678788b2fef14a614a1cb5b0ea4a7b12a61236
treeaa2a63433b1634b1dce23d50c0ce9687b5aba0a0
parent5c622a5bf3cf3eda45384171bb75591a18e89855
cmd/go/internal/modfetch: make subdirectories unwritable too

The top-level directory in a module was marked unwritable
but not the subdirectories. Fix that.

Change-Id: Ia57e5343624753851d9fe1ddfe496b870b67f924
Reviewed-on: https://go-review.googlesource.com/124381
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/modfetch/unzip.go
src/cmd/go/mod_test.go