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

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


Author: chrism
Date: 2008-06-19 15:15:03 +0000 (Thu, 19 Jun 2008)
New Revision: 164

Modified:
   sks/trunk/sks/debian/sks.postinst
Log:
[project @ 166]
Really set proper permissions, including setgid

Original author: weasel
Date: 2004-11-12 16:33:37.968651+00:00

Modified: sks/trunk/sks/debian/sks.postinst
===================================================================
--- sks/trunk/sks/debian/sks.postinst	2008-06-19 15:14:47 UTC (rev 163)
+++ sks/trunk/sks/debian/sks.postinst	2008-06-19 15:15:03 UTC (rev 164)
@@ -50,13 +50,15 @@
 	find /var/$i/sks -type f -exec chmod 600 '{}' ';'
     done
     chgrp -R adm /var/log/sks
-    chmod -R g+wX /var/log/sks
+    chmod -R g+rX /var/log/sks
+    chmod    g+s  /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
+	    chmod -R g+rX /var/log/sks
+	    chmod    g+s  /var/log/sks
 	fi
     fi
 fi




More information about the Pkg-sks-commit mailing list