diff -Nuar snort-2.8.3.2.orig/src/preprocessors/flow/portscan/server_stats.c snort-2.8.3.2/src/preprocessors/flow/portscan/server_stats.c --- snort-2.8.3.2.orig/src/preprocessors/flow/portscan/server_stats.c 2008-02-25 20:27:49.000000000 +0100 +++ snort-2.8.3.2/src/preprocessors/flow/portscan/server_stats.c 2009-03-04 09:24:35.797597187 +0100 @@ -346,7 +346,7 @@ /* open this description, create it if necessary, always wait on * sync to disk w/ every write, only write */ - fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY); + fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY, 0644); if(fd < 0) {