Skip to content

Commit

Permalink
Fix FileModeRootExecutable constant
Browse files Browse the repository at this point in the history
This causes a `unreasonable mode` error because it's specified as a
string not octal like the default mode
  • Loading branch information
hardys committed Aug 15, 2024
1 parent 471a981 commit 367872a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/consts/global_consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ const (
DefaultFileMode = "0644"

// FileModeRootExecutable is the mode of the files created by the controller when the owner is root.
FileModeRootExecutable = "700"
FileModeRootExecutable = "0700"
)

0 comments on commit 367872a

Please sign in to comment.