Added sticky GID permissions (#1615)

This commit is contained in:
Mafoo
2016-05-25 21:51:41 -06:00
committed by FusionPBX
parent 3ce93c654c
commit a8b667cd0b
14 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ if ($domains_processed == 1) {
foreach ($voicemails as $row) {
$path = $_SESSION['switch']['voicemail']['dir'].'/default/'.$row['domain_name'].'/'.$row['voicemail_id'];
if (!file_exists($path)) {
mkdir($path, 0777, true);
mkdir($path, 2777, true);
}
}
unset ($prep_statement, $sql);