Snort mailing list archives

umask interpreted backwards in "-m umask" option?


From: Shaiming Hsiung <shaiming.hsiung () gmail com>
Date: Wed, 18 Apr 2012 11:23:15 -0300

Hello,

  Snort run as a superuser typically dumps logs with 0600 permissions.

  I am trying to make them readable also by other users in the group.
However, when running:

  $ sudo snort --daq ipq -Q -d -m 0640 -c my.snort.conf -l my/log/dir/

the log files have permissions:
    -----r-rw-
instead of
    -rw-r-----

  It seems that the octal digits are being interpreted backwards.
Is that a bug?

  Snort version is 2.9.1.2.

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: