Skip to content

Commit 1aff865

Browse files
committed
change batch file permission
1 parent 15e9fa3 commit 1aff865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executor/batch/batch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (bs *BatchSubmitter) Initialize(ctx context.Context, processedHeight int64,
120120
}
121121

122122
fileFlag := os.O_CREATE | os.O_RDWR | os.O_APPEND
123-
bs.batchFile, err = os.OpenFile(bs.homePath+"/batch", fileFlag, 0666)
123+
bs.batchFile, err = os.OpenFile(bs.homePath+"/batch", fileFlag, 0640)
124124
if err != nil {
125125
return err
126126
}

0 commit comments

Comments
 (0)