lo_import permissions problem

Поиск
Список
Период
Сортировка
От essay182@gmail.com
Тема lo_import permissions problem
Дата
Msg-id 102d2dbf0512011903g3e5a6733n72f0a8269de4e9c@mail.gmail.com
обсуждение исходный текст
Ответы Re: lo_import permissions problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I have been trying to import a file into a table using lo_import and keep getting the error

ERROR: could not open server file "/tmp/myfile": Permission denied

The file is in /tmp so it is world readable and I made sure the file had the correct permissions by doing chmod 777. My user has super user privileges as well. I tried importing other files such as /etc/hosts as a test and this worked fine. I am running Gentoo linux with Postgres 8.0. Does anyone have any idea what the problem is and what I need to do to correct it?

Thanks in advance

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore error
Следующее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: 8.1, OID's and plpgsql