Skip to content

Commit a784dba

Browse files
authored
Merge pull request #254 from fredgan/patch-1
Make the output file permission from 600 to 644 for other user reading.
2 parents 7c9b571 + fd1cf7f commit a784dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processor/processor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ func Process() {
545545
if FileOutput == "" {
546546
fmt.Println(result)
547547
} else {
548-
_ = ioutil.WriteFile(FileOutput, []byte(result), 0600)
548+
_ = ioutil.WriteFile(FileOutput, []byte(result), 0644)
549549
fmt.Println("results written to " + FileOutput)
550550
}
551551
}

0 commit comments

Comments
 (0)