Permalink
Browse files

fix failures of fresh Interchange installs due to postinst script try…

…ing to change

ownership on non-existant /var/run/interchange directory (#569116)
  • Loading branch information...
1 parent 627df17 commit 53429f460c0bf2cd386101eef6a4ef1d718627b4 @racke racke committed Feb 10, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 debian/interchange.postinst
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2002,2003,2004,2006,2007,2009 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2001,2002,2003,2004,2006,2007,2009,2010 by Stefan Hornburg (Racke) <racke@linuxia.de>
#
# 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/*

0 comments on commit 53429f4

Please sign in to comment.