The problem is that chwon(fn, -1) works differently on Linux than on FreeBSD.
Linux doesn't change the permissions if mode is -1, FreeBSD does. The workaround would be to test for -1 in syslog-ng and not call chmod in those cases. For the record, affile_open_file gets the same arguments even on Linux, yet, permissions are eventually set right there. Thus, the problem is entirely doe to chmod(fn, -1) behaving differently on the two systems. A patch should be easy to cook up, one should be incoming soon, just need to test it. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org