Skip to content

Commit

Permalink
Fix astarte config folder permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
  • Loading branch information
eddbbt committed Sep 19, 2024
1 parent 2ba7483 commit c2da4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func listYamlNames(dirName string) ([]string, error) {

if os.IsNotExist(err) {
//if we cannot open the directory, create it and open again
_ = os.MkdirAll(dirName, 0600)
_ = os.MkdirAll(dirName, 0755)
file, err = os.Open(dirName)
if err != nil {
return nil, err
Expand Down

0 comments on commit c2da4e6

Please sign in to comment.