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

MURVAI-BUZOGANY Laszlo laszlo.murvai-buzogany@gt-systems.hu
Thu, 14 Feb 2002 10:58:08 +0100


Hi!

> 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);}; ); };
> 
> destination trash	{ file("/dev/null" perm(0666);); }
> 

I have had the same problem before, here is the thing you need:
destination trash { file("/dev/null" perm(0666) ); };

That's how it works for me.

	Laszlo