Skip to content

Commit

Permalink
Merge pull request #254 from fredgan/patch-1
Browse files Browse the repository at this point in the history
Make the output file permission from 600 to 644 for other user reading.
  • Loading branch information
boyter committed Apr 25, 2021
2 parents 7c9b571 + fd1cf7f commit a784dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/processor.go
Expand Up @@ -545,7 +545,7 @@ func Process() {
if FileOutput == "" {
fmt.Println(result)
} else {
_ = ioutil.WriteFile(FileOutput, []byte(result), 0600)
_ = ioutil.WriteFile(FileOutput, []byte(result), 0644)
fmt.Println("results written to " + FileOutput)
}
}

0 comments on commit a784dba

Please sign in to comment.