[syslog-ng]group () doesn't work
Balazs Scheidler
syslog-ng@lists.balabit.hu
Tue, 02 Nov 2004 14:38:04 +0100
On Tue, 2004-11-02 at 13:45, przemolicc@poczta.fm wrote:
> Hello,
>
> I am trying to allow group ('it') members to read logs. Therefore I used following
> lines:
>
> ...
> destination hosts {
> file("/var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/$HOUR:00"
> owner("root")
> group("it")
> perm(0640)
> dir_perm(0750)
> create_dirs(yes)
> );
> };
> ..
>
> But it doesn't work: new files are in group 'it' but new directories
> aren't. What can I do to have newly created directories in group 'it' ?
what about using dir_group() ?
--
Bazsi