mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed permissions over snmp IDX file
This commit is contained in:
parent
e559937697
commit
0df53387a1
@ -152,6 +152,7 @@ sub data_producer ($) {
|
||||
open INDEXFILE, '>' . $IDX_FILE;
|
||||
print INDEXFILE $LAST_LINE . ' ' . $LAST_SIZE;
|
||||
close INDEXFILE;
|
||||
set_file_permissions($pa_config, $IDX_FILE, "0666");
|
||||
|
||||
# Skip lines other than SNMP Trap logs
|
||||
next unless ($line =~ m/^SNMPv[12]\[\*\*\]/);
|
||||
|
Loading…
x
Reference in New Issue
Block a user