Search Postgresql Archives

Fwd: Can't populate database using Copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, disabled the SELinux , so can copy now; thanks for your time...

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

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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux