[mapguide-commits] r9380 - branches/3.1/vagrant/scripts

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Apr 1 10:26:49 PDT 2018


Author: jng
Date: 2018-04-01 10:26:49 -0700 (Sun, 01 Apr 2018)
New Revision: 9380

Modified:
   branches/3.1/vagrant/scripts/mginstallcentos.sh
   branches/3.1/vagrant/scripts/mginstallubuntu.sh
Log:
Make tcpdf/cache directory writable

Modified: branches/3.1/vagrant/scripts/mginstallcentos.sh
===================================================================
--- branches/3.1/vagrant/scripts/mginstallcentos.sh	2018-04-01 15:53:23 UTC (rev 9379)
+++ branches/3.1/vagrant/scripts/mginstallcentos.sh	2018-04-01 17:26:49 UTC (rev 9380)
@@ -88,6 +88,8 @@
 
 echo "[config]: Fixing permissions for certain folders"
 chmod 777 /usr/local/mapguideopensource-${MGVER_MAJOR_MINOR_REV}/webserverextensions/www/TempDir
+# daemon is the default user/group the bundled httpd will use
+chown daemon:daemon /usr/local/mapguideopensource-${MGVER_MAJOR_MINOR_REV}/webserverextensions/www/fusion/lib/tcpdf/cache
 
 echo "[install]: Registering services"
 # The service control scripts as-is won't register as services as they lack chkconfig information

Modified: branches/3.1/vagrant/scripts/mginstallubuntu.sh
===================================================================
--- branches/3.1/vagrant/scripts/mginstallubuntu.sh	2018-04-01 15:53:23 UTC (rev 9379)
+++ branches/3.1/vagrant/scripts/mginstallubuntu.sh	2018-04-01 17:26:49 UTC (rev 9380)
@@ -603,6 +603,8 @@
 
     echo "[config]: Fixing permissions for certain folders"
     chmod 777 /usr/local/mapguideopensource-${MGVER_MAJOR_MINOR_REV}/webserverextensions/www/TempDir
+    # daemon is the default user/group the bundled httpd will use
+    chown daemon:daemon /usr/local/mapguideopensource-${MGVER_MAJOR_MINOR_REV}/webserverextensions/www/fusion/lib/tcpdf/cache
 
     if [ "$HEADLESS" = "1" ] && [ "$NO_SERVICE_INSTALL" = "1" ];
     then



More information about the mapguide-commits mailing list