Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

[interchange/DEB_5_7_4: 5/9] fix failures of fresh Interchange installs due to postinst script trying to change

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Feb 23, 2010, 8:13 AM

Post #1 of 1 (184 views)
Permalink
[interchange/DEB_5_7_4: 5/9] fix failures of fresh Interchange installs due to postinst script trying to change

commit f7b4b4dbd399d58ca65ee8e1430477d20dd8eeaa
Author: Stefan Hornburg (Racke) <racke [at] linuxia>
Date: Wed Feb 10 11:05:58 2010 +0100

fix failures of fresh Interchange installs due to postinst script trying to change
ownership on non-existant /var/run/interchange directory (#569116)

debian/interchange.postinst | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/debian/interchange.postinst b/debian/interchange.postinst
index 081fbb3..1230b01 100755
--- a/debian/interchange.postinst
+++ b/debian/interchange.postinst
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2002,2003,2004,2006,2007,2009 by Stefan Hornburg (Racke) <racke [at] linuxia>
+# Copyright 2001,2002,2003,2004,2006,2007,2009,2010 by Stefan Hornburg (Racke) <racke [at] linuxia>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -38,10 +38,9 @@ if ! grep -q ^$USER: /etc/passwd; then
adduser --system --ingroup $GROUP --home /usr/lib/interchange $USER
fi

-# Ensure correct permissions for directories with log files resp. PID file
+# Ensure correct permissions for directories with log files
chown -R $USER.$GROUP /var/log/interchange
chmod 770 /var/log/interchange
-chown -R $USER.$GROUP /var/run/interchange
chown -R $USER.$GROUP /usr/lib/cgi-bin/ic
chmod u+s /usr/lib/cgi-bin/ic/*


_______________________________________________
interchange-cvs mailing list
interchange-cvs [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.