mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
C165: Fix ownership of suricata classification.config file.
The file has to be write-able for the WUI and update script, which both are executed as nobody. Fixes #12803. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
e41bb76cc3
commit
5f3dc2ca06
@@ -129,6 +129,9 @@ ldconfig
|
||||
telinit u
|
||||
/etc/rc.d/init.d/firewall restart
|
||||
|
||||
# Fix ownership of classification file.
|
||||
chown nobody:nobody /usr/share/suricata/classification.config
|
||||
|
||||
# Rebuild IPS rules
|
||||
rm -vf /tmp/ids_page_locked
|
||||
perl -e "require '/var/ipfire/ids-functions.pl'; &IDS::oinkmaster();"
|
||||
|
||||
Reference in New Issue
Block a user