| От | Stefanos Harhalakis |
|---|---|
| Тема | Bogus error message about private key (not a bug). |
| Дата | |
| Msg-id | 200411131347.32374.v13@priest.com обсуждение исходный текст |
| Ответы |
Re: Bogus error message about private key (not a bug).
|
| Список | pgsql-bugs |
Hi there, PostgreSQL 7.4.6 gives the following error message when trying to read the= =20 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= =20 "/var/lib/postgres/data/server.key" DETAIL: File must be owned by the database user and must have no permissio= ns=20 for "group" or "other". I believe that the checks in src/backend/libpq/be-secure.c:653 should be=20 performed in a different order (first the access permissions and then the= =20 owner of the key) just to give a more appropriate message. Thanks in advance, <<V13>>
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера