K 10 svn:author V 2 cy K 8 svn:date V 27 2022-01-23T20:28:07.972252Z K 7 svn:log V 643 rc.d/ntp: Ensure ntpd.leap-seconds.list is readable by ntpd When a use sets umask in login.conf(5) to 027 or 077 a subsequently fetched /var/db/ntpd.leap-seconds.list will inherit the permissions allowed by the umask, resulting in a file that may not be readable ntpd running under the ntp account. This patch adds a umask command to preempt the umask in login.conf(5) prior to fetching a new copy of the leap-seconds file. PR: 261298 Reported by: Martin Waschbusch (cherry picked from commit c6806434e79079f4f9419c3ba4fec37efcaa1635) Git Hash: 28d0a7821adc1421b26c45b5cd8ab6532e55ba62 Git Author: cy@FreeBSD.org END