{"action":"created","issue":{"url":"https://api.github.com/repos/krb5/krb5/issues/372","labels_url":"https://api.github.com/repos/krb5/krb5/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/krb5/krb5/issues/372/comments","events_url":"https://api.github.com/repos/krb5/krb5/issues/372/events","html_url":"https://github.com/krb5/krb5/pull/372","id":122813832,"number":372,"title":"Make kdc logs not readable by normal users","user":{"login":"frozencemetery","id":468294,"avatar_url":"https://avatars.githubusercontent.com/u/468294?v=3","gravatar_id":"","url":"https://api.github.com/users/frozencemetery","html_url":"https://github.com/frozencemetery","followers_url":"https://api.github.com/users/frozencemetery/followers","following_url":"https://api.github.com/users/frozencemetery/following{/other_user}","gists_url":"https://api.github.com/users/frozencemetery/gists{/gist_id}","starred_url":"https://api.github.com/users/frozencemetery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frozencemetery/subscriptions","organizations_url":"https://api.github.com/users/frozencemetery/orgs","repos_url":"https://api.github.com/users/frozencemetery/repos","events_url":"https://api.github.com/users/frozencemetery/events{/privacy}","received_events_url":"https://api.github.com/users/frozencemetery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/krb5/krb5/labels/needs%20revision","name":"needs revision","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-17T20:10:43Z","updated_at":"2016-01-07T19:23:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/krb5/krb5/pulls/372","html_url":"https://github.com/krb5/krb5/pull/372","diff_url":"https://github.com/krb5/krb5/pull/372.diff","patch_url":"https://github.com/krb5/krb5/pull/372.patch"},"body":"Default umask is 022, so with these changes the expected permissions on the logs becomes 0640 instead of 0644."},"comment":{"url":"https://api.github.com/repos/krb5/krb5/issues/comments/169780423","html_url":"https://github.com/krb5/krb5/pull/372#issuecomment-169780423","issue_url":"https://api.github.com/repos/krb5/krb5/issues/372","id":169780423,"user":{"login":"frozencemetery","id":468294,"avatar_url":"https://avatars.githubusercontent.com/u/468294?v=3","gravatar_id":"","url":"https://api.github.com/users/frozencemetery","html_url":"https://github.com/frozencemetery","followers_url":"https://api.github.com/users/frozencemetery/followers","following_url":"https://api.github.com/users/frozencemetery/following{/other_user}","gists_url":"https://api.github.com/users/frozencemetery/gists{/gist_id}","starred_url":"https://api.github.com/users/frozencemetery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frozencemetery/subscriptions","organizations_url":"https://api.github.com/users/frozencemetery/orgs","repos_url":"https://api.github.com/users/frozencemetery/repos","events_url":"https://api.github.com/users/frozencemetery/events{/privacy}","received_events_url":"https://api.github.com/users/frozencemetery/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T19:23:11Z","updated_at":"2016-01-07T19:23:11Z","body":"As requested, this has been updated with the open()+fdopen() approach.  I haven't changed the file mode from the original since I wasn't sure whether you wanted it changed to 0660 or whether that was a typo.  (I'm fine with 0660, 0640, and 0600; I picked 0640 since every other daemon I could find was either 0644 or 0640.)"}}