Skip to content

Commit 3a9e7f7

Browse files
committed
fix: 修复linux无法建立config文件的问题
1 parent c4b1068 commit 3a9e7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/datax/tools/wizard.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (w *Wizard) GenerateConfigsAndScripts() (err error) {
5656
}
5757

5858
dataSourceExt := filepath.Ext(dataSourceAbsFile)
59-
os.MkdirAll(filepath.Join(filepath.Dir(dataSourceAbsFile), "config"), 0644)
59+
os.MkdirAll(filepath.Join(filepath.Dir(dataSourceAbsFile), "config"), 0755)
6060
dataSourcePrefix := filepath.Join(filepath.Dir(dataSourceAbsFile), "config",
6161
filepath.Base(dataSourceAbsFile)[:len(filepath.Base(dataSourceAbsFile))-len(dataSourceExt)])
6262

0 commit comments

Comments
 (0)