diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-01-18 14:14:54 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-01-18 14:21:00 +0000 |
commit | c6806434e79079f4f9419c3ba4fec37efcaa1635 (patch) | |
tree | 8d421b3e73a953289a0d6619c1d4f21c884bc788 | |
parent | aac52f94ea55e5b16a1b78e39bfe4f02616df34a (diff) | |
download | src-c6806434e79079f4f9419c3ba4fec37efcaa1635.tar.gz src-c6806434e79079f4f9419c3ba4fec37efcaa1635.zip |
-rwxr-xr-x | libexec/rc/rc.d/ntpd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/ntpd b/libexec/rc/rc.d/ntpd index 8b32e3e19d5b..c1d2f52a01b7 100755 --- a/libexec/rc/rc.d/ntpd +++ b/libexec/rc/rc.d/ntpd @@ -221,6 +221,8 @@ ntpd_fetch_leapfile() { if ntpd_needfetch_leapfile ; then for url in $ntp_leapfile_sources ; do $verbose fetching $url + # Circumvent umask 027 and 077 in login.conf(5) + umask 022 fetch $ntp_leapfile_fetch_opts -o $_ntp_tmp_leapfile $url && break done ntp_ver_no_tmp=$(get_ntp_leapfile_ver $_ntp_tmp_leapfile) |