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
@@ -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,0777,true); }
if (!is_readable($_SESSION['switch']['recordings']['dir']."/".$domain_name)) { mkdir($_SESSION['switch']['recordings']['dir']."/".$domain_name,2770,true); }
}
if ($domains_processed == 1) {