| От | Tom Lane |
|---|---|
| Тема | Re: BUG #2049: pg_dump BACKUP error |
| Дата | |
| Msg-id | 5861.1132324781@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #2049: pg_dump BACKUP error ("Prakash Suryavanshi" <cadet_02prakash@yahoo.com>) |
| Список | pgsql-bugs |
"Prakash Suryavanshi" <cadet_02prakash@yahoo.com> writes:
> system flashes error as follows
> bash-2.05b$ pg_dump chrome2105 > 2nov1505
> pg_dump: ERROR: _mdfd_getrelnfd: cannot open relation ed_accounttype:
> Permission denied
You've apparently started the postmaster as the wrong user, or else
someone's changed the ownership/permissions of the database files
underneath you. Every file within the $PGDATA directory tree ought to
be owned by the user that the postmaster runs as, and readable/writable
only by that user (mode -rw-------, or -rwx------ for directories).
Note that pg 7.2 is horribly ancient --- you should update to something
newer and still-supported as soon as you get that dump made.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера