Re: [syslog-ng]perm and dir_perm not working?
I should mention I've tried this running syslog-ng 1.4.10, 1.4.11, 1.5.5a. On linux kernel 2.4.1, gcc 2.95.2, glibc 2.2. Any help would be greatly appreciated!! John Delisle Corporate Technology Ceridian Canada Ltd 204-975-5909 |--------+--------------------------------> | | John_Delisle@ceridian.| | | ca | | | Sent by: | | | syslog-ng-admin@lists.| | | balabit.hu | | | | | | | | | 2001/04/06 10:49 AM | | | Please respond to | | | syslog-ng | | | | |--------+-------------------------------->
-----------------------------------------------------------------------------------------------------------| | | | To: syslog-ng@lists.balabit.hu | | cc: | | Subject: [syslog-ng]perm and dir_perm not working? | -----------------------------------------------------------------------------------------------------------|
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. _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
participants (1)
-
John_Delisle@ceridian.ca