[DRE-commits] r4497 - trunk/redmine/debian

Jérémy Lal kapouer-guest at alioth.debian.org
Thu Jan 7 19:06:31 UTC 2010


Author: kapouer-guest
Date: 2010-01-07 19:06:30 +0000 (Thu, 07 Jan 2010)
New Revision: 4497

Modified:
   trunk/redmine/debian/changelog
   trunk/redmine/debian/postinst
Log:
Fix permission of session_store.rb (Closes: #564086)
Add this fact to the changelog, and set the current svn revision of 0.9-stable branch.

Modified: trunk/redmine/debian/changelog
===================================================================
--- trunk/redmine/debian/changelog	2010-01-05 00:58:52 UTC (rev 4496)
+++ trunk/redmine/debian/changelog	2010-01-07 19:06:30 UTC (rev 4497)
@@ -1,10 +1,11 @@
-redmine (0.9.0~svn3235-1) UNRELEASED; urgency=low
+redmine (0.9.0~svn3280-1) UNRELEASED; urgency=low
 
   * Upstream update.
   * Stop using deprecated dbfile param in database.yml.
   * Fix typo in po templates. (Closes: #553376)
   * Adds pt, de, sv, ru, es, ja translations.
-    (Closes: #553375, #551002, #552736, #554351, #560999, #555693)  
+    (Closes: #553375, #551002, #552736, #554351, #560999, #555693)
+  * session_store.rb owned by nobody. (Closes: #564086)
 
  -- Jérémy Lal <kapouer at melix.org>  Sun, 01 Nov 2009 21:39:51 +0100
 

Modified: trunk/redmine/debian/postinst
===================================================================
--- trunk/redmine/debian/postinst	2010-01-05 00:58:52 UTC (rev 4496)
+++ trunk/redmine/debian/postinst	2010-01-07 19:06:30 UTC (rev 4497)
@@ -83,7 +83,8 @@
 		chown -fR www-data:www-data tmp
 		# add secret key, set permissions
 		rake -s config/initializers/session_store.rb RAILS_ENV=$fRailsEnv || true
-		chown -f www-data:www-data config/initializers/session_store.rb
+		# let default config of passenger access it (passenger works as user nobody).
+		chown -f nobody:www-data config/initializers/session_store.rb
 		chmod 640 config/initializers/session_store.rb
 		
 		cd $savedir




More information about the Pkg-ruby-extras-commits mailing list