Update processor.go · boyter/scc@fd1cf7f

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit fd1cf7f

authored

Update processor.go

Make the output file permission from 600 to 644 for other user reading.

1 parent e8a6442 commit fd1cf7f

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

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)