Skip to content

Commit

Permalink
Fix index dir mode (#825)
Browse files Browse the repository at this point in the history
Signed-off-by: lucklove <[email protected]>
  • Loading branch information
lucklove authored Sep 29, 2020
1 parent b4c0a9f commit 0f31da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/err/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func loadIndex() (bleve.Index, map[string]*errorSpec, error) {

if needIndex {
indexMapping := buildIndexMapping()
if err := os.MkdirAll(indexPath, 0644); err != nil {
if err := os.MkdirAll(indexPath, 0755); err != nil {
return nil, nil, err
}
index, err = bleve.New(indexPath, indexMapping)
Expand Down

0 comments on commit 0f31da8

Please sign in to comment.