[Pkg-sks-commit] r162 - sks/trunk/sks/debian

chrism at alioth.debian.org chrism at alioth.debian.org
Thu Jun 19 15:14:39 UTC 2008


Author: chrism
Date: 2008-06-19 15:14:38 +0000 (Thu, 19 Jun 2008)
New Revision: 162

Modified:
   sks/trunk/sks/debian/changelog
   sks/trunk/sks/debian/sks.postinst
Log:
[project @ 164]
Make /var/log/sks readable by group adm

Original author: weasel
Date: 2004-11-12 16:27:34.499547+00:00

Modified: sks/trunk/sks/debian/changelog
===================================================================
--- sks/trunk/sks/debian/changelog	2008-06-19 15:14:28 UTC (rev 161)
+++ sks/trunk/sks/debian/changelog	2008-06-19 15:14:38 UTC (rev 162)
@@ -1,3 +1,9 @@
+sks (1.0.9-0.2) UNRELEASED; urgency=low
+
+  * Make /var/log/sks readable by group adm.
+
+ -- Peter Palfrader <weasel at debian.org>  Fri, 12 Nov 2004 17:27:00 +0100
+
 sks (1.0.9-0.1) UNRELEASED; urgency=low
 
   * New upstream release.

Modified: sks/trunk/sks/debian/sks.postinst
===================================================================
--- sks/trunk/sks/debian/sks.postinst	2008-06-19 15:14:28 UTC (rev 161)
+++ sks/trunk/sks/debian/sks.postinst	2008-06-19 15:14:38 UTC (rev 162)
@@ -49,6 +49,16 @@
 	chmod -R 700 /var/$i/sks
 	find /var/$i/sks -type f -exec chmod 600 '{}' ';'
     done
+    chgrp -R adm /var/log/sks
+    chmod -R g+wX /var/log/sks
+else
+    # fix permissions of logs after 1.0.9-0.1
+    if [ "$1" = "configure" ]; then
+	if dpkg --compare-versions "$2" lt "1.0.9-0.2" ; then
+	    chgrp -R adm /var/log/sks
+	    chmod -R g+wX /var/log/sks
+	fi
+    fi
 fi
 
 #DEBHELPER#




More information about the Pkg-sks-commit mailing list