# HG changeset patch # User godisch # Date 1056558904 -3600 # Node ID 465d6f1971e0c0200b648c8bee375424a8aebd6a # Parent a85a0af33718e94e240b1f704b7d28fe957306d7 [svn] added sanity check for noffle.conf permissions diff -r a85a0af33718 -r 465d6f1971e0 debian/postinst --- 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