On Tue, Mar 11, 2025 at 08:25:15PM +0100, Michael Banck wrote: > > But I'm not sure if it's an upstream bug, or a latent flaw in the Debian > > packaging. > > I had another look today and I think it is an upstream thing
To clarify this a bit: Patroni renames the original postgresql.conf (that has perfectly fine permissions at all times) to postgresql.base.conf and writes a completely new one at runtime - so we (Debian) have no agency over the permissions it assigns here. And Patroni only fixes up permissions for files it creates in PGDATA - or not sure why that is. Michael

