mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
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:
@@ -397,7 +397,7 @@ if (!class_exists('extension')) {
|
||||
$xml .= " </user>\n";
|
||||
|
||||
if (!is_readable($_SESSION['switch']['extensions']['dir']."/".$row['user_context'])) {
|
||||
mkdir($_SESSION['switch']['extensions']['dir']."/".$row['user_context'],2755,true);
|
||||
mkdir($_SESSION['switch']['extensions']['dir']."/".$row['user_context'],02770,true);
|
||||
}
|
||||
if (strlen($extension) > 0) {
|
||||
$fout = fopen($_SESSION['switch']['extensions']['dir']."/".$row['user_context']."/v_".$extension.".xml","w");
|
||||
|
||||
Reference in New Issue
Block a user