From ebe6865c91f88595fca30c66cb038a5d9e9545d3 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 23 Feb 2011 19:08:01 +0000 Subject: [PATCH] 2011-02-23 Ramon Novoa * DEBIAN/postinst: Updated. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/unix/ChangeLog | 4 ++++ pandora_agents/unix/DEBIAN/postinst | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog index c20e73f823..5d4e20f798 100644 --- a/pandora_agents/unix/ChangeLog +++ b/pandora_agents/unix/ChangeLog @@ -1,3 +1,7 @@ +2011-02-23 Ramon Novoa + + * DEBIAN/postinst: Updated. + 2011-02-14 Sancho Lerena * OpenWRT: Special files for OpenWRT/Perl version. diff --git a/pandora_agents/unix/DEBIAN/postinst b/pandora_agents/unix/DEBIAN/postinst index 1b18887746..fdafb59e9c 100755 --- a/pandora_agents/unix/DEBIAN/postinst +++ b/pandora_agents/unix/DEBIAN/postinst @@ -4,7 +4,6 @@ PANDORA_LOG=/var/log/pandora/pandora_agent.log PANDORA_BIN=/usr/bin/pandora_agent PANDORA_EXEC_BIN=/usr/bin/pandora_agent PANDORA_HOME=/usr/share/pandora_agent -PANDORA_TEMP=/var/spool/pandora/data_out PANDORA_CFG=/etc/pandora LOG_TIMESTAMP=`date +"%Y/%m/%d %H:%M:%S"` @@ -27,10 +26,9 @@ echo "$LOG_TIMESTAMP Pandora FMS installer has created this file at startup" > $ echo "Setting secure permissions and ownership for all Pandora FMS Agent files..." chmod 700 $PANDORA_BIN chmod 700 $PANDORA_EXEC_BIN -chmod 600 $PANDORA_HOME/pandora_agent.conf +#~ chmod 600 $PANDORA_HOME/pandora_agent.conf chmod -R 700 $PANDORA_HOME/plugins chown -R root $PANDORA_HOME -chmod -R 600 $PANDORA_TEMP chmod 640 $PANDORA_LOG chgrp root $PANDORA_LOG chown -R root:root $PANDORA_BIN