[pgpool-general: 2939] Re: pool_passwd opened read/write?

Alexandru Cardaniuc cardaniuc at gmail.com
Sun Jun 22 11:11:23 JST 2014

Yes, for some reason pool_passwd has to have 660 permissions. Why is
that the case? Why does this file has to be 660 and not 440?

Martijn van Oosterhout <kleptog at gmail.com> writes:

> Hi,
> I was getting some odd errors from pgpool2 while setting it up and worked out that it was because the pool_passwd
> was not writable for pgpool2, but it is being opened read/write:
>         passwd_fd = fopen(pool_passwd_filename, "r+");
> I can't see it being written to anywhere so I think it's an oversight. Am I missing something or can I send a
> patch to fix it?
> Thanks in advance,
> --
> Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
> _______________________________________________ pgpool-general mailing
> list pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general

"The only thing necessary for evil to flourish is for good men to do
- Edmund Burke

More information about the pgpool-general mailing list