diff --git a/.chloggen/permissions-with-no-execution.yaml b/.chloggen/permissions-with-no-execution.yaml new file mode 100644 index 00000000..dd357a79 --- /dev/null +++ b/.chloggen/permissions-with-no-execution.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. crosslink) +component: chloggen + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: change generated files permissions from 0755 to 0644 + +# One or more tracking issues related to the change +issues: [457] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/chloggen/cmd/new.go b/chloggen/cmd/new.go index d184c47f..9089c05f 100644 --- a/chloggen/cmd/new.go +++ b/chloggen/cmd/new.go @@ -46,7 +46,7 @@ func newCmd() *cobra.Command { if err != nil { return err } - err = os.WriteFile(pathWithExt, templateBytes, os.FileMode(0755)) + err = os.WriteFile(pathWithExt, templateBytes, os.FileMode(0644)) if err != nil { return err }