From 187a46ff51fd8aa81bcdbdff7ed947911e23a727 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 4 Nov 2020 11:57:12 +0100 Subject: [PATCH] run post_install.php as www-data to have no need and therefore skip chown -R /var/lib/egroupware --- doc/docker/fpm/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docker/fpm/entrypoint.sh b/doc/docker/fpm/entrypoint.sh index ec0afe07c7..61d163d01c 100755 --- a/doc/docker/fpm/entrypoint.sh +++ b/doc/docker/fpm/entrypoint.sh @@ -46,7 +46,7 @@ max_retries=10 export try=0 # EGW_SKIP_INSTALL=true skips initial installation (no header.inc.php yet) until [ -n "$EGW_SKIP_INSTALL" -a ! -f /var/lib/egroupware/header.inc.php ] || \ - php /usr/share/egroupware/doc/rpm-build/post_install.php \ + sudo -u www-data php /usr/share/egroupware/doc/rpm-build/post_install.php \ --start_webserver "" --autostart_webserver "" \ --start_db "" --autostart_db "" \ --db_type "${EGW_DB_TYPE:-mysqli}" \