[syslog-ng]change directory/file permissions

Stefan M. Brandl smb@r-kom.de
Wed, 26 Jun 2002 10:51:01 +0200


Hi,
I have the following line in syslog-ng.conf:

destination router {
  file("/opt/syslog-ng/var/$YEAR/$MONTH/$YEAR$MONTH$DAY-$HOST" create_dirs(yes) 
 perm(0644));
};


This creates automaticaly the directorys and changes the file-permissions
to 644.
But it only changes the permissions of the file, not of the directories.
What can I do, that also the directories get 644?


Regards
 Stefan