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 05:55:46 -06:00
committed by FusionPBX
parent 86c4742347
commit 71525c26b0
17 changed files with 42 additions and 59 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
//if the recordings directory doesn't exist then create it
if (strlen($_SESSION['switch']['recordings']['dir']."/".$domain_name) > 0) {
if (!is_readable($_SESSION['switch']['recordings']['dir']."/".$domain_name)) { mkdir($_SESSION['switch']['recordings']['dir']."/".$domain_name,2770,true); }
if (!is_readable($_SESSION['switch']['recordings']['dir']."/".$domain_name)) { mkdir($_SESSION['switch']['recordings']['dir']."/".$domain_name,02770,true); }
}
if ($domains_processed == 1) {