[pgpool-general: 2941] Re: pool_passwd opened read/write?
ishii at postgresql.org
Sun Jun 22 14:03:49 JST 2014
Because pg_md5 needs to overwrite it.
SRA OSS, Inc. Japan
> 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:
>> 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
> "The only thing necessary for evil to flourish is for good men to do
> - Edmund Burke
> pgpool-general mailing list
> pgpool-general at pgpool.net
More information about the pgpool-general