Changed privileges to log folder server installer tarball

(cherry picked from commit 3b29928f24)
This commit is contained in:
fermin831 2016-09-05 13:57:32 +02:00
parent 2bcad66324
commit 698c002e0c
1 changed files with 2 additions and 0 deletions

View File

@ -305,6 +305,8 @@ install () {
mkdir $DESTDIR$PANDORA_SPOOL/data_in/netflow 2> /dev/null
chmod 770 $DESTDIR$PANDORA_SPOOL/data_in/netflow
mkdir -p $DESTDIR$PANDORA_LOG 2> /dev/null
chown -R pandora $DESTDIR$PANDORA_LOG 2> /dev/null
chmod 770 $DESTDIR$PANDORA_LOG 2> /dev/null
echo "Giving proper permission to /var/spool/pandora"
for group in "www-data" wwwrun www apache