[pkg-java] r2841 - branches/tomcat5.5/feature/debian/debian

Marcus Better marcusb-guest at alioth.debian.org
Sat Dec 9 22:44:05 CET 2006


Author: marcusb-guest
Date: 2006-12-09 22:44:05 +0100 (Sat, 09 Dec 2006)
New Revision: 2841

Modified:
   branches/tomcat5.5/feature/debian/debian/changelog
   branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst
Log:
Give tomcat55 user write access to /var/lib/tomcat5.5/conf, so that WAR webapps can be deployed. Fixes #402224.


Modified: branches/tomcat5.5/feature/debian/debian/changelog
===================================================================
--- branches/tomcat5.5/feature/debian/debian/changelog	2006-12-09 21:40:20 UTC (rev 2840)
+++ branches/tomcat5.5/feature/debian/debian/changelog	2006-12-09 21:44:05 UTC (rev 2841)
@@ -3,13 +3,16 @@
   * The symlink "/usr/share/tomcat5.5/common/endorsed/xml-apis" is now
     correctly named "xml-apis.jar". Thanks to Javier Serrano
     Polo. (Closes: #402265)
+  * The tomcat55 user now has write permissions to
+    "/var/lib/tomcat5.5/conf", so that Tomcat can deploy webapps in WAR
+    archives. (Closes: #402224)
   * The named pipe /var/log/tomcat5.5/catalina.out is now properly
     created.
   * The TOMCAT5_SHUTDOWN variable in /etc/default/tomcat5.5 is obsolete
     and has been removed.
   * The init script now supports the try-restart action.
 
- -- Marcus Better <marcus at better.se>  Sat,  9 Dec 2006 20:39:56 +0100
+ -- Marcus Better <marcus at better.se>  Sat,  9 Dec 2006 22:41:52 +0100
 
 tomcat5.5 (5.5.20-3) experimental; urgency=low
 

Modified: branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst
===================================================================
--- branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst	2006-12-09 21:40:20 UTC (rev 2840)
+++ branches/tomcat5.5/feature/debian/debian/tomcat5.5.postinst	2006-12-09 21:44:05 UTC (rev 2841)
@@ -11,8 +11,9 @@
 	    mkfifo -m600 /var/log/tomcat5.5/catalina.out
 	fi
 	chown -R tomcat55:nogroup /var/log/tomcat5.5 /var/cache/tomcat5.5
-	chown tomcat55:adm /var/log/tomcat5.5 /var/cache/tomcat5.5 \
-	    /var/lib/tomcat5.5/conf
+	chown -R tomcat55:adm /var/lib/tomcat5.5/conf
+	chown tomcat55:adm /var/log/tomcat5.5 /var/cache/tomcat5.5
+	chmod -R 770 /var/lib/tomcat5.5/conf
 	chmod 750 /var/log/tomcat5.5 /var/lib/tomcat5.5/conf
 	chmod 700 /var/cache/tomcat5.5
 	if [ ! -f /var/lib/tomcat5.5/conf/tomcat-users.xml ]; then




More information about the pkg-java-commits mailing list