[syslog-ng]perm and dir_perm not working?

John_Delisle@ceridian.ca John_Delisle@ceridian.ca
Fri, 6 Apr 2001 10:49:40 -0500


Hi all,

I've been trying without any luck to have syslog-ng create dirs with 755
and files with 644 permissions.  I've used the following line:

destination d_devices { file("/var/log/devices/$HOST/$PRIORITY" perm(0644)
create_dirs(yes) dir_perm(0755)); };


But they are created with the permissions from my umask (022).  ie files
are 600, not 644.

Is this a known issue? Is there a workaround? Any ideas??

John Delisle
Corporate Technology
Ceridian Canada Ltd
204-975-5909



This e-mail and any files transmitted with it are considered confidential and are intended solely for the use of the individual or entity to whom they are addressed (intended). This communication is subject to agent/client privilege.If you are not the intended recipient (received in error) or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.If you have received this e-mail in error please notify the sender immediately.