summaryrefslogtreecommitdiffstats
path: root/net-mgmt/cacti/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cacti/files/pkg-install.in')
-rw-r--r--net-mgmt/cacti/files/pkg-install.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/cacti/files/pkg-install.in b/net-mgmt/cacti/files/pkg-install.in
index da76801..e33cc5c 100644
--- a/net-mgmt/cacti/files/pkg-install.in
+++ b/net-mgmt/cacti/files/pkg-install.in
@@ -39,9 +39,9 @@ PRE-INSTALL)
POST-INSTALL)
- chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/
- chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/*
chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/rra/
+ chown -R ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/
+ chmod -R a+r ${PREFIX}/${CACTIDIR}/scripts/
;;
*)
exit 1
OpenPOWER on IntegriCloud