Re: Wim Bertels 2019-02-26 <1551198329.5922.23.ca...@ucll.be>
> why are they different? if it's important that postgresql.auto.conf
> isn't readable by other, then why is postgresql.conf,

The problem is the PGDATA directory permissions, not so much the
permissions of the file. PG checks if the permissions of that
directory are 700, and refuses to start otherwise. (In PG11, the check
got relaxed a bit so 750 is also ok now, but that won't change our
problem much in practice.)

> if it is an option: storing the postgresql.auto.conf in the
> /etc/postgresql/11/oefensets/ dir would open the option to set the
> permissions to -rw-r--r--
> Or is there a good reason not to store this file here?

PG insists that this file is located in PGDATA. There is no option to
move it elsewhere like there is for postgresql.conf.

Christoph

Reply via email to