2020-02-08, 01:32:12
Does anyone know why we get this warning? I know it's related to file ownership, just wondered if anyone else noticed this.
Warning: chmod(): Operation not permitted in /var/www/html/projects/getSimple/intranet_v2/admin/inc/basic.php on line 322
code from the file is:
Thanks
Warning: chmod(): Operation not permitted in /var/www/html/projects/getSimple/intranet_v2/admin/inc/basic.php on line 322
code from the file is:
PHP Code:
// debugLog('XMLsave: ' . $file . ' ' . get_execution_time());
if(getDef('GSDOCHMOD') === false) return $success;
if (defined('GSCHMOD')) {
return $success && chmod($file, GSCHMOD);
} else {
return $success && chmod($file, 0755);
}
Thanks