changeset 451:465d6f1971e0 noffle

[svn] added sanity check for noffle.conf permissions
author godisch
date Wed, 25 Jun 2003 17:35:04 +0100
parents a85a0af33718
children fb4e5f59f4a7
files debian/postinst
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/debian/postinst	Wed Jun 25 17:27:55 2003 +0100
+++ b/debian/postinst	Wed Jun 25 17:35:04 2003 +0100
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: postinst 588 2003-06-25 16:03:29Z godisch $
+# $Id: postinst 594 2003-06-25 16:35:04Z godisch $
 
 set -e
 
@@ -72,6 +72,8 @@
 fi
 
 # sanity checks
+chgrp news    /etc/news/noffle.conf
+chmod g+r,o-r /etc/news/noffle.conf
 chown -R news:news /var/lock/noffle /var/spool/noffle
 chmod -R go-w      /var/lock/noffle /var/spool/noffle
 find /var/lock/noffle /var/spool/noffle -type d -print0 | xargs -0 chmod g+s