Fixed snort config file rights after core29.
authorChristian Schmidt <maniacikarus@ipfire.org>
Wed, 22 Jul 2009 04:58:53 +0000 (06:58 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Wed, 22 Jul 2009 04:58:53 +0000 (06:58 +0200)
config/rootfiles/core/29/update.sh

index d000d7a1d237ae9fe341826806a63debc8ccdfd7..9bebb1cdb189439bdfeca965c464296578f0f49e 100644 (file)
@@ -31,6 +31,8 @@ rm -rf /srv/web/ipfire/cgi-bin/networks.cgi
 rm -rf /etc/snort/rules/community-*
 cat /etc/snort/snort.conf | grep -v community- > /tmp/snort.conf
 mv -f /tmp/snort.conf /etc/snort/snort.conf
+chown nobody.nobody /etc/snort/snort.conf
+chmod 644 /etc/snort/snort.conf
 /etc/init.d/collectd start
 /etc/init.d/snort start
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"