misc: 관리를 위해 mkdir에 group permission 부여

This commit is contained in:
2022-11-05 15:17:57 +09:00
parent 054a6c7073
commit cfdae1ddfa
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ function prepareDir(string $dirPath, bool $forceCreate=true):bool{
if(!unlink($dirPath)){
return false;
}
return mkdir($dirPath);
return mkdir($dirPath, 0775);
}
return mkdir($dirPath, 0777, true);
return mkdir($dirPath, 0775, true);
}