Skip to content

Commit

Permalink
cli: minor perm fixups
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
knz committed Jan 16, 2020
1 parent c787f74 commit 3b9cffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ select '''

for _, test := range tests {
// Populate the test input.
if f, err = os.OpenFile(fname, os.O_WRONLY, 0666); err != nil {
if f, err = os.OpenFile(fname, os.O_WRONLY, 0644); err != nil {
fmt.Fprintln(stderr, err)
return
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/systembench/disk_bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func newTempFile(dir string) (*os.File, error) {
}

return os.OpenFile(tempFileName,
os.O_RDWR|os.O_APPEND, 0660)
os.O_RDWR|os.O_APPEND, 0640)
}

// Run runs I/O benchmarks specified by diskOpts.
Expand Down

0 comments on commit 3b9cffc

Please sign in to comment.