|
@@ -1798,7 +1798,7 @@ func FuncDocs2Pdf(command string, fileSrcPath string, fileOutDir string, convert
|
|
|
//如文件输出目录fileOutDir不存在则自动创建
|
|
|
outFileDir, erByOpenFileOutDir := os.Open(fileOutDir)
|
|
|
if erByOpenFileOutDir != nil && os.IsNotExist(erByOpenFileOutDir) {
|
|
|
- erByCreateFileOutDir := os.MkdirAll(fileOutDir, os.ModePerm)
|
|
|
+ erByCreateFileOutDir := os.MkdirAll(fileOutDir, 0766)
|
|
|
if erByCreateFileOutDir != nil {
|
|
|
fmt.Println("File ouput dir create error.....", erByCreateFileOutDir.Error())
|
|
|
return "", erByCreateFileOutDir
|