| От | Tom Lane |
|---|---|
| Тема | Re: permission denied |
| Дата | |
| Msg-id | 20053.1048133420@sss.pgh.pa.us обсуждение |
| Ответ на | permission denied (phil campaigne <pcampaigne@charter.net>) |
| Список | pgsql-novice |
phil campaigne <pcampaigne@charter.net> writes:
> I'm using jdbc to connect tomcat to postgresql. I a permission denied
> when my application tries to acces the database files.
> "/usr/local/pgsql/data/global/1262"
> I am trying to change the linux directory's permission, but to who?
> ...postgres
> ...the database user
/usr/local/pgsql/data/ and everything under it must be owned by the
postgres user (ie, the one the postmaster runs as). I'd bet that either
you ran initdb as the wrong user, or you've started the postmaster as
the wrong user.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера