]> git.ipfire.org Git - thirdparty/krb5.git/commit
Create KDC and kadmind log files with mode 0640
authorRobbie Harwood <rharwood@redhat.com>
Thu, 17 Dec 2015 18:31:39 +0000 (13:31 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 13 Jan 2016 17:38:30 +0000 (12:38 -0500)
commit9914b93516bbce9b1123ed5f9f796b7028944892
tree6cfd32a836cf43d36c00c0d4a7714d59341dbec3
parent28db863bd8a0a6e76be65acdd7c35afd3503827c
Create KDC and kadmind log files with mode 0640

In krb5_klog_init(), use open() and fdopen() to open log files so that
we can specify a mode.  Specify a mode which doesn't include the
group-write, other-read, or other-write bits even if the process umask
allows them.

[ghudson@mit.edu: wrote commit message, de-indented post-open setup
code]

ticket: 8344 (new)
src/lib/kadm5/logger.c