From 34fd963c36a7ddfb0bd7d4881c059215ae9f8d72 Mon Sep 17 00:00:00 2001 From: tcharles Date: Fri, 15 Jul 2016 16:57:37 +0200 Subject: [PATCH] Fix file owner fix the following error while doing a cfgMove Please check that files in the followings directory are writable by apache user : /etc/centreon-engine/ Please check that files in the followings directory are writable by apache user : /etc/centreon-broker/ --- www/class/centreon-clapi/centreon.Config.Poller.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/class/centreon-clapi/centreon.Config.Poller.class.php b/www/class/centreon-clapi/centreon.Config.Poller.class.php index 0455d40290b..9b8db360d06 100644 --- a/www/class/centreon-clapi/centreon.Config.Poller.class.php +++ b/www/class/centreon-clapi/centreon.Config.Poller.class.php @@ -478,6 +478,9 @@ public function cfgMove($variables) { /* Get Apache user name */ $apacheUser = $this->getApacheUser(); + + /*Get Centreon group name */ + $centreonGroup = $this->getCentreonGroup(); /** * Move files.