[Mapbender-commits] r6529 - trunk/build/osgeolive

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Jul 3 08:53:56 EDT 2010


Author: tbaschetti
Date: 2010-07-03 12:53:56 +0000 (Sat, 03 Jul 2010)
New Revision: 6529

Modified:
   trunk/build/osgeolive/install_mapbender.sh
Log:
ix


Modified: trunk/build/osgeolive/install_mapbender.sh
===================================================================
--- trunk/build/osgeolive/install_mapbender.sh	2010-07-03 12:51:11 UTC (rev 6528)
+++ trunk/build/osgeolive/install_mapbender.sh	2010-07-03 12:53:56 UTC (rev 6529)
@@ -83,8 +83,7 @@
 cp -R $INSTALLFILE $INSTALL_DIR/mapbender
 chmod -R uga+r $INSTALL_DIR/mapbender
 chown -R www-data:www-data $INSTALL_DIR/mapbender
-chmod a+w $INSTALL_DIR/mapbender/resources/db
-chmod -R a+w $INSTALL_DIR/mapbender/resources/locale
+chown -R user $INSTALL_DIR/mapbender/resources
 
 
 
@@ -93,10 +92,8 @@
 cd $INSTALL_DIR/mapbender/resources/db
 chmod +x install_2.6.sh 
 sudo -u $USER_NAME ./install_2.6.sh localhost 5432 $MAPBENDER_DATABASE_NAME $MAPBENDER_DATABASE_TEMPLATE $MAPBENDER_DATABASE_USER
+chown -R www-data:www-data $INSTALL_DIR/mapbender/resources
 
-chmod a-w $INSTALL_DIR/mapbender/resources/db
-chmod -R a-w $INSTALL_DIR/mapbender/resources/locale
-
 #Create apache2 configuration for mapbender
 echo "#Configure apache for mapbender " > /etc/apache2/conf.d/mapbender
 echo "Alias /mapbender $INSTALL_DIR/mapbender/http/" >> /etc/apache2/conf.d/mapbender



More information about the Mapbender_commits mailing list