From: Harlan Stenn Date: Sat, 21 Apr 2001 09:37:55 +0000 (-0000) Subject: ChangeLog, ntp-genkeys.c: X-Git-Tag: NTP_4_0_99_M~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d412608fe264e717f0ba9df75fe67c4f9a68ddd0;p=thirdparty%2Fntp.git ChangeLog, ntp-genkeys.c: * util/ntp-genkeys.c (main): Reset the standard mask so the symlinks are created with the standard mask. bk: 3ae154f3hOxHYYvBQ3YCAQaVngYECg --- diff --git a/ChangeLog b/ChangeLog index 5b4efe50a4..2980d5034a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-04-21 Harlan Stenn + * util/ntp-genkeys.c (main): Reset the standard mask so the + symlinks are created with the standard mask. + * configure.in: 4.0.99k28 * ntpd/ntpd.c (ntpdmain): Use mode_t for umask value. diff --git a/util/ntp-genkeys.c b/util/ntp-genkeys.c index 6af9a92960..4cbc35fe4f 100644 --- a/util/ntp-genkeys.c +++ b/util/ntp-genkeys.c @@ -877,6 +877,7 @@ main( */ std_mask = umask(sec_mask); /* Get the standard mask */ + (void) umask(std_mask); if (make_md5 && (force || !filep(f1_keys))) { /*