Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 258487 | Differences between
and this patch

Collapse All | Expand All

(-)snort-2.6.1.4/src/preprocessors/flow/portscan/server_stats.c.orig (-1 / +1 lines)
Lines 325-331 Link Here
325
325
326
    /* open this description, create it if necessary, always wait on
326
    /* open this description, create it if necessary, always wait on
327
     * sync to disk w/ every write, only write */
327
     * sync to disk w/ every write, only write */
328
    fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY);
328
    fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY,S_IRWXU);
329
329
330
    if(fd < 0)
330
    if(fd < 0)
331
    {
331
    {

Return to bug 258487