2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh, pandora_server_installer, pandora_server.spec: changed the permissions 750 for the dir "data_in" to 770, for to allow the web api call for add module data for agent. TODO: change the pandora_server.redhat.spec the permissions for dir "data_in". git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b07a40eade
commit
797761c5bd
|
@ -1,3 +1,12 @@
|
||||||
|
2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* DEBIAN/make_deb_package.sh, pandora_server_installer, pandora_server.spec:
|
||||||
|
changed the permissions 750 for the dir "data_in" to 770, for to allow the
|
||||||
|
web api call for add module data for agent.
|
||||||
|
|
||||||
|
TODO: change the pandora_server.redhat.spec the permissions for dir
|
||||||
|
"data_in".
|
||||||
|
|
||||||
2010-09-23 Sergio Martin <sergio.martin@artica.es>
|
2010-09-23 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/DB.pm: Improved the db_process_insert
|
* lib/PandoraFMS/DB.pm: Improved the db_process_insert
|
||||||
|
|
|
@ -70,6 +70,7 @@ then
|
||||||
mkdir -p temp_package/etc/pandora/
|
mkdir -p temp_package/etc/pandora/
|
||||||
touch temp_package/etc/pandora/pandora_server.conf
|
touch temp_package/etc/pandora/pandora_server.conf
|
||||||
mkdir -p temp_package/var/spool/pandora/data_in
|
mkdir -p temp_package/var/spool/pandora/data_in
|
||||||
|
chmod 770 temp_package/var/spool/pandora/data_in
|
||||||
mkdir -p temp_package/var/spool/pandora/data_in/conf
|
mkdir -p temp_package/var/spool/pandora/data_in/conf
|
||||||
mkdir -p temp_package/var/spool/pandora/data_in/md5
|
mkdir -p temp_package/var/spool/pandora/data_in/md5
|
||||||
chmod 770 temp_package/var/spool/pandora/data_in/md5
|
chmod 770 temp_package/var/spool/pandora/data_in/md5
|
||||||
|
|
|
@ -162,6 +162,7 @@ rm -Rf /usr/share/man/man1/tentacle_server.1.gz
|
||||||
|
|
||||||
%defattr(770,pandora,www)
|
%defattr(770,pandora,www)
|
||||||
/var/spool/pandora
|
/var/spool/pandora
|
||||||
|
/var/spool/pandora/data_in
|
||||||
/var/spool/pandora/data_in/md5
|
/var/spool/pandora/data_in/md5
|
||||||
/var/spool/pandora/data_in/collections
|
/var/spool/pandora/data_in/collections
|
||||||
|
|
||||||
|
|
|
@ -198,6 +198,7 @@ perl-TimeDate perl-XML-Simple perl-libwww-perl mysql-client"
|
||||||
|
|
||||||
mkdir $PANDORA_SPOOL 2> /dev/null
|
mkdir $PANDORA_SPOOL 2> /dev/null
|
||||||
mkdir $PANDORA_SPOOL/data_in 2> /dev/null
|
mkdir $PANDORA_SPOOL/data_in 2> /dev/null
|
||||||
|
chmod 770 $PANDORA_SPOOL/data_in
|
||||||
mkdir $PANDORA_SPOOL/data_in/conf 2> /dev/null
|
mkdir $PANDORA_SPOOL/data_in/conf 2> /dev/null
|
||||||
chmod 750 $PANDORA_SPOOL/data_in/conf
|
chmod 750 $PANDORA_SPOOL/data_in/conf
|
||||||
mkdir $PANDORA_SPOOL/data_in/md5 2> /dev/null
|
mkdir $PANDORA_SPOOL/data_in/md5 2> /dev/null
|
||||||
|
|
Loading…
Reference in New Issue