Skip to content

Commit

Permalink
Update processor.go
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
fredgan committed Apr 22, 2021
1 parent e8a6442 commit fd1cf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/processor.go
Original file line number Diff line number Diff line change
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 fd1cf7f

Please sign in to comment.