Skip to content

Commit

Permalink
fixed permissions on the elemental config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jdob committed Dec 5, 2023
1 parent 90613b7 commit fc9db2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/combustion/elemental.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func writeElementalConfigFile(ctx *image.Context) error {
return fmt.Errorf("extracting elemental config: %w", err)
}

if err := os.WriteFile(configFilename, yamlData, fileio.ExecutablePerms); err != nil {
if err := os.WriteFile(configFilename, yamlData, fileio.NonExecutablePerms); err != nil {
return fmt.Errorf("writing elemental config file %s: %w", configFilename, err)
}

Expand Down

0 comments on commit fc9db2f

Please sign in to comment.