Closed zbalkan closed 1 year ago
The notification plugin processes run under context nobody:nogroup, and cannot write/append log file under /var/log/.
nobody:nogroup
/var/log/
Solutions:
/tmp
chmod 666 crowdsec_alerts.json
Solved with https://github.com/zbalkan/notification-file/commit/09fa76452ab1a6019e2db0507355210fc8f0d19a
The notification plugin processes run under context
nobody:nogroup
, and cannot write/append log file under/var/log/
.Solutions:
/tmp
: This is the easiest and most secure solution as it does not require permission management.chmod 666 crowdsec_alerts.json
command. NOT SUGGESSTED.