[syslog-ng] owner and group of create dirs
Tomohiro Yamauchi
handy@nid.co.jp
Thu, 01 Jun 2000 15:58:37 +0900 (JST)
Hi, My syslog-ng.conf is
destination std { file("/var/log/$HOST/$FACILITY.debug/$YEAR$MONTH/$FACILITY.debug$YEAR$MONTH$DAY" owner(admin) group(admin) perm(0600) dir_perm(0700) create_dirs(yes)); };
If /var/log/$HOST/$FACILITY.debug/$YEAR$MONTH is not exist,
make that dirs. But that's owner is root:other. I think because
daemon's effective user ID is root.
I want to change dir's owner. Is this possible?
--
Tomohiro Yamauchi handy@nid.co.jp