Suggest update to install.run:
PHP Code:
// Make sure permissions are set properly
function fixPermissions(){
global $controller;
$module_path = "./modules/".$controller->GetControllerRequest('URL', 'module');
$sysOS = php_uname('s');
$zsudo = ctrl_options::GetOption('zsudo');
switch($sysOS){
case 'Linux':
exec("$zsudo chown -R apache.apache " . $module_path);
exec("$zsudo chmod -R 755 " . $module_path);
break;
case 'Unix':
exec("$zsudo chown -R apache:apache " . $module_path);
exec("$zsudo chmod -R 755 " . $module_path);
break;
default:
//windows or incompilable operating system !!Do Nothing!!
break;
}
}
fixPermissions();