Added sticky GID permissions (#1615)

This commit is contained in:
Mafoo
2016-05-26 04:51:41 +01:00
committed by FusionPBX
parent 3ce93c654c
commit a8b667cd0b
14 changed files with 25 additions and 25 deletions

View File

@@ -175,7 +175,7 @@
throw new Exception("recursive_copy() source directory '".$src."' does not exist.");
}
if (!is_dir($dst)) {
if (!mkdir($dst)) {
if (!mkdir($dst,2770,true)) {
throw new Exception("recursive_copy() failed to create destination directory '".$dst."'");
}
}