fix: mkdir目录权限统一775

This commit is contained in:
TsMask
2024-05-27 10:29:04 +08:00
parent 6baae1862a
commit 4ac4fb55dc
10 changed files with 13 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ func WriterFileCSV(data [][]string, filePath string) error {
dirPath := filepath.Dir(filePath)
// 确保文件夹路径存在
err := os.MkdirAll(dirPath, os.ModePerm)
err := os.MkdirAll(dirPath, 0775)
if err != nil {
logger.Errorf("MkdirAll dir %v", err)
}