[pgpool-general: 2951] Re: pool_passwd opened read/write?
Alexandru Cardaniuc
cardaniuc at gmail.com
Mon Jun 23 07:35:21 JST 2014
I see. I guess I didn't have to use it, so didn't see the need.
Tatsuo Ishii <ishii at postgresql.org> writes:
> Because pg_md5 needs to overwrite it.
>
> Best regards,
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese:http://www.sraoss.co.jp
>
>> 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
>> nothing."
>> - Edmund Burke
>> _______________________________________________
>> pgpool-general mailing list
>> pgpool-general at pgpool.net
>> http://www.pgpool.net/mailman/listinfo/pgpool-general
>
>
--
"The secret of getting ahead is getting started. The secret of getting
started is breaking your complex overwhelming tasks into small
manageable tasks, and then starting on the first one."
- Mark Twain (1835-1910)
More information about the pgpool-general
mailing list