mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
fix error caused by post_install.php not running as root (default for container)
This commit is contained in:
parent
6ce457f8e2
commit
3a15b4d86b
@ -382,7 +382,10 @@ if (!isset($GLOBALS['egw_domain']) || $config['domain'] !== 'default' && !isset
|
|||||||
','.$config['db_type'].','.$config['db_host'].','.$config['db_port']);
|
','.$config['db_type'].','.$config['db_host'].','.$config['db_port']);
|
||||||
run_cmd($setup_header);
|
run_cmd($setup_header);
|
||||||
// fix permissions of header.inc.php
|
// fix permissions of header.inc.php
|
||||||
chown($config['header'], $config['webserver_user']);
|
if (function_exists('posix_getuid') && posix_getuid() === 0)
|
||||||
|
{
|
||||||
|
chown($config['header'], $config['webserver_user']);
|
||||||
|
}
|
||||||
chmod($config['header'], 0600);
|
chmod($config['header'], 0600);
|
||||||
|
|
||||||
// install egroupware
|
// install egroupware
|
||||||
|
Loading…
Reference in New Issue
Block a user