2013-02-19 Koichiro Kikuchi <koichiro@rworks.jp>

* pandora_agent_installer: Removed duplicated chown line.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
koichirok 2013-02-19 10:28:33 +00:00
parent eadb829879
commit 064f322e3d
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-02-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated chown line.
2013-02-12 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Fixed bug that data transfer would fail

View File

@ -344,6 +344,7 @@ install () {
echo "Setting secure permissions and ownership for all Pandora FMS Agent files..."
chown -R $PANDORA_USER $PANDORA_BASE$PANDORA_HOME
chmod -R 700 $PANDORA_BASE$PANDORA_TEMP/data_out
chmod 711 $PANDORA_BASE$PANDORA_LOG_DIR
chmod 640 $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
chown $PANDORA_USER:0 $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
if [ "$OS_NAME" = "FreeBSD" ]
@ -358,8 +359,6 @@ install () {
cp $OS_NAME/pandora_agent.conf $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf
chmod 600 $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf
chown $PANDORA_USER $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf
chmod 711 $PANDORA_BASE$PANDORA_LOG_DIR
chown $PANDORA_USER $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
if [ "$OS_NAME" = "FreeBSD" ]
then