mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +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.
|
||||
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
|
||||
# contained files
|
||||
chown -R nobody:nobody /var/lib/suricata
|
||||
|
||||
Reference in New Issue
Block a user