model-writtenrun 5745 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Steele proposed allowing root-owned client private keys with mode 0640 to match the server policy, keeping separate implementations because their error handling differed and leaving root-ownership testing manual because it required privileges #1.
- Stephen Frost supported the application-server use case, caught an accidentally removed regular-file check, and requested clearer comments and cross-references; David restored the check and incorporated those improvements #3 #4.
- Tom Lane requested checking file type before ownership and permissions and using filename cross-references; David's final attachment implemented those changes and aligned the client and server code blocks while retaining manual test instructions #5 #8.
- Tom committed the final attachment with comment and punctuation edits plus a Cygwin exemption for libpq's permission checks as a59c79564b, then explained that privileged root-ownership tests were unsuitable for ordinary automated TAP runs #9.
- David requested backpatching, but Tom initially wanted stronger evidence of user demand; Stephen described container deployments that had to copy managed secrets to change their permissions #10 #11 #12.
- Tom revisited an older complaint and distinguished unrestricted group readability from the safer root-owned exception, while asking for concrete requests to match the server's behavior #13.
- Chris Bandy documented Kubernetes-mounted root-owned 0640 secrets breaking libpq connections, including streaming replication, which persuaded Tom to proceed with backpatching #14 #15.
- Tom separately corrected the omitted libpq documentation in 50f03473ed, explaining root ownership, group read access, and the Windows exception without an attached documentation patch.
- The thread ended with David thanking Tom for the container-facing improvement; the code and documentation had landed, backpatching had been accepted, and no automated root-ownership test was included #16.