Re: COPY command error in psql.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY command error in psql.
Дата
Msg-id 28796.1018360243@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY command error in psql.  (Matthew Stanfield <matthew@propertyknowledge.com>)
Список pgsql-general
Matthew Stanfield <matthew@propertyknowledge.com> writes:
> COPY ab FROM '/home/ms/db/csv/AB.csv'
> psql:batchfile:1: Error: Copy command, running in backend with effective
> uid 26, could not open file '/home/ms/db/csv/AB.csv' for reading. Errorno =
> permission denied (13).

> Now I understand why this happened the first time I ran the command as only
> user 'ms' had any kind of permission for AB.csv.

What about permissions on the containing directories?  That path
requires search (x) permission on each directory traversed to reach the
file...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SPI_execp() failed in RI_FKey_cascade_del()
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: COPY command error in psql.