File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ function kube::build::verify_prereqs() {
164
164
165
165
kube::version::get_version_vars
166
166
kube::version::save_version_vars " ${KUBE_ROOT} /.dockerized-kube-version-defs"
167
+
168
+ # Without this, the user's umask can leak through.
169
+ umask 0022
167
170
}
168
171
169
172
# ---------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -523,10 +523,6 @@ kube::golang::setup_env() {
523
523
524
524
# This seems to matter to some tools
525
525
export GO15VENDOREXPERIMENT=1
526
-
527
- # This is for sanity. Without it, user umasks leak through into release
528
- # artifacts.
529
- umask 0022
530
526
}
531
527
532
528
# This will take binaries from $GOPATH/bin and copy them to the appropriate
@@ -678,6 +674,9 @@ kube::golang::build_some_binaries() {
678
674
}
679
675
680
676
kube::golang::build_binaries_for_platform () {
677
+ # This is for sanity. Without it, user umasks can leak through.
678
+ umask 0022
679
+
681
680
local platform=$1
682
681
683
682
local -a statics=()
You can’t perform that action at this time.
0 commit comments