Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> We need to be able to write in the whole directory, not just the
> lockfile. But actually the point I am making above is in your favor:
> after adding a check on ownership, it would be a matter of your
> protection wishes what the directory protections need to be. Right
> now that check is an integral part of some non-obvious safety
> considerations.
Ah, I see. So yes, I was annoyed at last once when I changed permissions on
the postgres data directory and got errors telling me not to do that.
--
greg