mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
suricata: Fix ownership of the classification.config file.
The file has to be write-able for the nobody user. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -107,6 +107,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
# to the rules directory.
|
# to the rules directory.
|
||||||
rm -rfv /etc/suricata/*.config
|
rm -rfv /etc/suricata/*.config
|
||||||
|
|
||||||
|
# Set correct ownership for the classifiction config file.
|
||||||
|
# (File has to be writeable for the nobody user)
|
||||||
|
chown nobody:nobody /usr/share/suricata/classification.config
|
||||||
|
|
||||||
# Set correct ownership for /var/lib/suricata and the
|
# Set correct ownership for /var/lib/suricata and the
|
||||||
# contained files
|
# contained files
|
||||||
chown -R nobody:nobody /var/lib/suricata
|
chown -R nobody:nobody /var/lib/suricata
|
||||||
|
|||||||
Reference in New Issue
Block a user