Re: [BUGS] Bogus error message about private key (not a bug).

2004-11-16 Thread Stefanos Harhalakis
On Tuesday 16 November 2004 21:06, Tom Lane wrote: > Stefanos Harhalakis <[EMAIL PROTECTED]> writes: > > I believe that the checks in src/backend/libpq/be-secure.c:653 should be > > performed in a different order (first the access permissions and then the > > owner of the key) just to give a more a

Re: [BUGS] Bogus error message about private key (not a bug).

2004-11-16 Thread Tom Lane
Stefanos Harhalakis <[EMAIL PROTECTED]> writes: > I believe that the checks in src/backend/libpq/be-secure.c:653 should be > performed in a different order (first the access permissions and then the > owner of the key) just to give a more appropriate message. Changing the order of the tests wouldn

[BUGS] Bogus error message about private key (not a bug).

2004-11-16 Thread Stefanos Harhalakis
Hi there, PostgreSQL 7.4.6 gives the following error message when trying to read the private key in the case of: -rw--- 1 root root 887 Aug 19 15:01 /var/lib/postgres/data/server.key 2004-11-13 13:04:42 [4095] FATAL: unsafe permissions on private key file "/var/lib/postgres/data/server.k