Merge remote-tracking branch 'andy/ticket/2.7rc/15471_last_run_report_only_readable_by_root' into 2.7rc
- andy/ticket/2.7rc/15471_last_run_report_only_readable_by_root: (#15471) Fix setting mode of last_run_summary (#15471) Ensure non-root can read report summary Use Win32 API atomic replace in replace_file