From 2233b21d397f9fde598eedc724356a0a57be6ea2 Mon Sep 17 00:00:00 2001 From: Luiz Costa Date: Fri, 22 Jul 2022 15:00:40 +0100 Subject: [PATCH 1/2] fix(packaging): give sufficient rights on .env and .env.local.php debian (#11416) --- ci/debian/centreon-web.postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/debian/centreon-web.postinst b/ci/debian/centreon-web.postinst index 8d909ce272a..4704a127c6b 100644 --- a/ci/debian/centreon-web.postinst +++ b/ci/debian/centreon-web.postinst @@ -17,6 +17,9 @@ if [ "$1" = "configure" ] ; then chmod -R 0775 \ /usr/share/centreon/www \ /usr/share/centreon/GPL_LIB/SmartyCache + chmod 0664 \ + /usr/share/centreon/www/.env \ + /usr/share/centreon/www/.env.local.php fi From c296b0bc67d2ad32833644bf9958c13e7c2b2325 Mon Sep 17 00:00:00 2001 From: Adrien Morais-Mestre <31647811+adr-mo@users.noreply.github.com> Date: Mon, 25 Jul 2022 18:20:40 +0200 Subject: [PATCH 2/2] fix(debian): wrong directory for env files for php (#11425) --- ci/debian/centreon-web.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/debian/centreon-web.postinst b/ci/debian/centreon-web.postinst index 4704a127c6b..59f1d40c7ac 100644 --- a/ci/debian/centreon-web.postinst +++ b/ci/debian/centreon-web.postinst @@ -18,8 +18,8 @@ if [ "$1" = "configure" ] ; then /usr/share/centreon/www \ /usr/share/centreon/GPL_LIB/SmartyCache chmod 0664 \ - /usr/share/centreon/www/.env \ - /usr/share/centreon/www/.env.local.php + /usr/share/centreon/.env \ + /usr/share/centreon/.env.local.php fi