Re: Can't populate database using Copy

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Can't populate database using Copy
Дата
Msg-id 20060826204258.GA46679@winnie.fuhr.org
обсуждение исходный текст
Ответ на Can't populate database using Copy  (Jim <azmode03@yahoo.com>)
Ответы Re: Can't populate database using Copy  ("Shoaib Mir" <shoaibmir@gmail.com>)
Список pgsql-general
On Sat, Aug 26, 2006 at 11:35:56AM -0700, Jim wrote:
> copy tabledaily from '/home/jb/FinalData.txt' with csv;
> ERROR:  could not open file "/home/jb/FinalData.txt" for reading: Permission denied.
> Yet everything else works, including populating tables with Insert queries.
>
> All the permissions were changed for world access ( perhaps bad idea
> but out of  frustration; and am the only person on this computer ).
> drwxrwxrwx   3 root root  4096 Aug 21 10:19 home
>  drwxrwxrwx 25 jb jb 4096 Aug 26 11:18 jb
>  -rwxrwxrwx 1 jb   jb     255 Aug 25 18:15 FinalData.txt

Might this be an SELinux problem?

--
Michael Fuhr

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Inserting Data
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Something blocking in libpq_gettext?