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:
parent
fb21cdb80f
commit
62f52054f7
|
@ -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>
|
2013-02-12 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||||
|
|
||||||
* pandora_agent: Fixed bug that data transfer would fail
|
* pandora_agent: Fixed bug that data transfer would fail
|
||||||
|
|
|
@ -344,6 +344,7 @@ install () {
|
||||||
echo "Setting secure permissions and ownership for all Pandora FMS Agent files..."
|
echo "Setting secure permissions and ownership for all Pandora FMS Agent files..."
|
||||||
chown -R $PANDORA_USER $PANDORA_BASE$PANDORA_HOME
|
chown -R $PANDORA_USER $PANDORA_BASE$PANDORA_HOME
|
||||||
chmod -R 700 $PANDORA_BASE$PANDORA_TEMP/data_out
|
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
|
chmod 640 $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
|
||||||
chown $PANDORA_USER:0 $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
|
chown $PANDORA_USER:0 $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
|
||||||
if [ "$OS_NAME" = "FreeBSD" ]
|
if [ "$OS_NAME" = "FreeBSD" ]
|
||||||
|
@ -358,8 +359,6 @@ install () {
|
||||||
cp $OS_NAME/pandora_agent.conf $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf
|
cp $OS_NAME/pandora_agent.conf $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf
|
||||||
chmod 600 $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
|
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" ]
|
if [ "$OS_NAME" = "FreeBSD" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue