[syslog-ng]Having trouble with the options syntax for file permissions

Michael Renner m.renner@inode.at
Thu, 14 Feb 2002 09:49:06 +0100


At 22:42 13.02.2002 +0000, you wrote:

>I haven't been able to decipher a proper syntax for the options in the
>destination line.  My best hints seem to have been in section 2.5 of the
>reference manual, so I tried:
>
>destination trash       { file("/dev/null" options{perm(0666);}; ); };
>
>But this gives a syntax error.  Also tried eliding the options as in
>
>destination trash       { file("/dev/null" perm(0666);); }
>
>to no avail.
>
>Obviously I'm missing something simple, but can't see it.

Hi Len!

destination trash       { file("/dev/null" perm(0666)); };

should work.


mfg

-- 

Renner Michael