From 25570a0258ae8ae64d117afb30ed32566b9ced9f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 26 Jan 2018 15:15:11 +0100 Subject: [PATCH] run chown on update just on /var/lib/egroupware/*/files/sqlfs and not whole data directory, as it can have eg. network filesystem mountpoints --- doc/rpm-build/post_install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rpm-build/post_install.php b/doc/rpm-build/post_install.php index 782320b7a8..a099fdaa6e 100755 --- a/doc/rpm-build/post_install.php +++ b/doc/rpm-build/post_install.php @@ -604,7 +604,7 @@ function fix_perms() // in case update changes something in filesystem if (file_exists($config['data_dir']) && !empty($config['webserver_user'])) { - system('/bin/chown -R '.$config['webserver_user'].' '.$config['data_dir']); + system('/bin/chown -R '.$config['webserver_user'].' '.$config['data_dir'].'/*/files/sqlfs'); } }