Skip to content

Commit

Permalink
remove executable permission bits
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Feb 20, 2021
1 parent 5eb14a1 commit 849c0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ InhibitDelayMaxSec=%.0f
`, inhibitDelayMax.Seconds())

logindOverridePath := filepath.Join(logindConfigDirectory, kubeletLogindConf)
if err := ioutil.WriteFile(logindOverridePath, []byte(inhibitOverride), 0755); err != nil {
if err := ioutil.WriteFile(logindOverridePath, []byte(inhibitOverride), 0644); err != nil {
return fmt.Errorf("failed writing logind shutdown inhibit override file %v: %v", logindOverridePath, err)
}

Expand Down

0 comments on commit 849c0d1

Please sign in to comment.