Re: [Dnsmasq-discuss] How to set umask for logfile?

2018-01-12 Thread BUGHUNTER
On 12.01.2018 17:23, Simon Kelley wrote: The process umask is explicitly set to 022 in dnsmasq.c, to change that, you're going to have to edit the source and recompile. thanks for the info! have a nice day! Bughunter ___ Dnsmasq-discuss mailing list

Re: [Dnsmasq-discuss] How to set umask for logfile?

2018-01-12 Thread Simon Kelley
The process umask is explicitly set to 022 in dnsmasq.c, to change that, you're going to have to edit the source and recompile. Cheers, Simon. On 12/01/18 13:17, BUGHUNTER wrote: > Hi, > > I am trying to set the umask for the logfile generated by dnsmaq, but it > seems to ignore the way I am d

[Dnsmasq-discuss] How to set umask for logfile?

2018-01-12 Thread BUGHUNTER
Hi, I am trying to set the umask for the logfile generated by dnsmaq, but it seems to ignore the way I am doing it. System: Ubuntu 16.04 /etc/dnsmasq.d/local.conf: log-facility=/var/log/dnsmasq.log log-queries Then I am creating a systemd override like described here: https://serverfault.com