2011-02-23 Ramon Novoa <rnovoa@artica.es>

* DEBIAN/postinst: Updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2011-02-23 19:08:01 +00:00
parent 96b74eef6f
commit e5c2126404
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-02-23 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/postinst: Updated.
2011-02-14 Sancho Lerena <slerena@artica.es>
* OpenWRT: Special files for OpenWRT/Perl version.

View File

@ -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