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