Thread: Fwd: Can't populate database using Copy

Fwd: Can't populate database using Copy

From
Jim
Date:
OK, disabled the SELinux , so can copy now; thanks for your time...

Jim <azmode03@yahoo.com> wrote:
Date: Sat, 26 Aug 2006 11:35:56 -0700 (PDT)
From: Jim <azmode03@yahoo.com>
Subject: Can't populate database using Copy
To: pgsql-general@postgresql.org

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

I see other people with this same problem on the mailing lists, but no example-solutions are offered.  Can you get the newbys started ?  Thanks.