Re: Permission denied while importing data from a file?

Поиск
Список
Период
Сортировка
От Adam Ruth
Тема Re: Permission denied while importing data from a file?
Дата
Msg-id 8csmfp$1u3b$1@news.aros.net
обсуждение исходный текст
Ответ на Permission denied while importing data from a file?  (Felix Slager <slager@hydra.accu.uu.nl>)
Список pgsql-general
I've gotten that message before when users couldn't read the directory the
file is in.

--
Adam Ruth
InterCation, Inc.
www.intercation.com
"Felix Slager" <slager@hydra.accu.uu.nl> wrote in message
news:38F0ACDC.CBCE5538@hydra.accu.uu.nl...
> LS,
>
> i'm trying to copy data into a table using a copy command using:
>
> COPY tabelName FROM '/somewhere/somebody/datafile.txt';
>
> I've given everybody the right to use the datafile.txt (execute, read,
> write) with an incredible chmod 7777. Still i get the message:
>
> ERROR:  COPY command, running in backend with effective uid nr 666,
> could not open file '/somewhere/somebody/datafile.txt' for reading.
> Errno = Permission denied (13).
>
> Why? I mean how does this happen?
> Please help...
>
> Felix



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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Minor hack to support LO string searches
Следующее
От: Charles Curley
Дата:
Сообщение: Re: [NOVICE] installation question