[Snort-devel] Snort logs file permissions

Chris Green cmg at ...81...
Fri Nov 9 05:02:03 EST 2001


"Ralf Vitasek" <vitasek at ...930...> writes:

> Hi there!
>
> I was trying to get snort to create its logfiles world-READable so i can
> start snortsnarf using a small cgi.
>
> Please could someone here give me a hint in which file and where in
> snorts sources i can change the standard logfile perm's ?

Try using the umask command line param

-m 022

or from:
http://www.snort.org/docs/writing_rules/chap2.html#tth_sEc2.1.3

Use config umask 022 in your snort config.

> I´m assuming its the only way to achieve this, or is there a way to set
> these perm's in snorts config file? But if someone can prove me wrong
> i'll be glad too :-)
>
> thanks!
>
> Ralf
>
>
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel

-- 
Chris Green <cmg at ...81...>
"Yeah, but you're taking the universe out of context."




More information about the Snort-devel mailing list