2009-12-24 Sancho Lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed some perms on postinstall. * pandora_console_install: Fixed some perms on postinstall. * pandora_console.spec: Removed one blank space :-)) git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
612c34185d
commit
df54aa02fa
|
@ -1,3 +1,11 @@
|
||||||
|
2009-12-24 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* DEBIAN/postinst: Fixed some perms on postinstall.
|
||||||
|
|
||||||
|
* pandora_console_install: Fixed some perms on postinstall.
|
||||||
|
|
||||||
|
* pandora_console.spec: Removed one blank space :-))
|
||||||
|
|
||||||
2009-12-23 Ramon Novoa <rnovoa@artica.es>
|
2009-12-23 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* include/functions_db.php: Fixed avg. calculation in custom reports.
|
* include/functions_db.php: Fixed avg. calculation in custom reports.
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
#pear install XML_RPC
|
#pear install XML_RPC
|
||||||
|
|
||||||
echo Change the user and group to /var/www/pandora_console.
|
echo Change the user and group to /var/www/pandora_console.
|
||||||
chmod 755 /var/www/pandora_console -R
|
chmod -R u+rwX,g+rX,g-w,o-rwx /var/www/pandora_console
|
||||||
chgrp www-data /var/www/pandora_console -R
|
chgrp www-data /var/www/pandora_console -R
|
||||||
chown www-data /var/www/pandora_console -R
|
chown www-data /var/www/pandora_console -R
|
||||||
|
|
||||||
echo Restart the apache.
|
echo Restart the apache.
|
||||||
/etc/init.d/apache2 restart
|
/etc/init.d/apache2 restart
|
||||||
|
|
||||||
echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it."
|
echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it."
|
||||||
|
|
|
@ -23,7 +23,7 @@ Source0: %{name}-%{version}.tar.gz
|
||||||
URL: http://www.pandorafms.com
|
URL: http://www.pandorafms.com
|
||||||
Group: Productivity/Networking/Web/Utilities
|
Group: Productivity/Networking/Web/Utilities
|
||||||
Packager: Manuel Arostegui <manuel@todo-linux.com>
|
Packager: Manuel Arostegui <manuel@todo-linux.com>
|
||||||
Prefix: /srv/www/htdocs
|
Prefix: /srv/www/htdocs
|
||||||
BuildRoot: %{_tmppath}/%{name}
|
BuildRoot: %{_tmppath}/%{name}
|
||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
AutoReq: 0
|
AutoReq: 0
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Linux Version (generic), for SuSe and Debian/Ubuntu only
|
# Linux Version (generic), for SuSe and Debian/Ubuntu only
|
||||||
# other Linux distros could not work properly without modifications
|
# other Linux distros could not work properly without modifications
|
||||||
# Please see http://www.pandorafms.org
|
# Please see http://www.pandorafms.org
|
||||||
# v3.0 Build 090810
|
# v3.0 Build 091224
|
||||||
# This code is licensed under GPL 2.0 license.
|
# This code is licensed under GPL 2.0 license.
|
||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
|
@ -88,7 +88,8 @@ install () {
|
||||||
# Copying Pandora FMS console
|
# Copying Pandora FMS console
|
||||||
echo "Copying Pandora FMS Console to $PANDORA_HOME.."
|
echo "Copying Pandora FMS Console to $PANDORA_HOME.."
|
||||||
cp -R * $PANDORA_HOME
|
cp -R * $PANDORA_HOME
|
||||||
chmod -R 750 $PANDORA_HOME
|
chmod -R u+rwX,g+rX,g-w,o-rwx $PANDORA_HOME
|
||||||
|
|
||||||
|
|
||||||
# Creating 'pandora' user
|
# Creating 'pandora' user
|
||||||
id pandora
|
id pandora
|
||||||
|
@ -108,13 +109,14 @@ install () {
|
||||||
then
|
then
|
||||||
chown -R www-data:root $PANDORA_HOME
|
chown -R www-data:root $PANDORA_HOME
|
||||||
chown -R pandora:www-data /var/spool/pandora/
|
chown -R pandora:www-data /var/spool/pandora/
|
||||||
else
|
else
|
||||||
|
# Assuming SUSE
|
||||||
chown -R wwwrun:root $PANDORA_HOME
|
chown -R wwwrun:root $PANDORA_HOME
|
||||||
chown -R pandora:www /var/spool/pandora/
|
chown -R pandora:www /var/spool/pandora/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Setting secure permissions for Pandora FMS spool dir..."
|
echo "Setting secure permissions for Pandora FMS spool dir..."
|
||||||
chmod -R 770 /var/spool/pandora/
|
chmod -R u+rwX,g+rwX,o-rwx /var/spool/pandora/
|
||||||
|
|
||||||
echo "Done."
|
echo "Done."
|
||||||
echo " "
|
echo " "
|
||||||
|
|
Loading…
Reference in New Issue