No subject


Thu Nov 23 16:36:19 EST 2017


set by this bit of code in snort.c :

            case 'm': /* set the umask for the output files */
                {
                    char *p;
                    long val = 0;

                    umaskchange = 0;

                    val = strtol(optarg, &p, 8);
                    if (*p != '\0' || val < 0 || (val & ~FILEACCESSBITS))
                    {
                        FatalError("ERROR: bad umask %s\n", optarg);
                    }
                    else
                    {
                        defumask = val;
                    }
                    break;
                }



I haven't tried to set 'defumask = xxx;'  yet though, this is jsut a guess
:P


Av





More information about the Snort-users mailing list