I got the permissions wrong (#1616)

it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
This commit is contained in:
Mafoo
2016-05-26 12:55:46 +01:00
committed by FusionPBX
parent 86c4742347
commit 71525c26b0
17 changed files with 42 additions and 59 deletions

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, 2777, true);
mkdir($path, 02770, true);
}
}
unset ($prep_statement, $sql);