Re: copy command problem
Don Isgitt wrote:
Hi,
I am recreating a database and its applications onto a new server and
new software; old version of pg was 7.2.4 and new version isgds2=# select version();
version
--------------------------------------------------------------------------------------------------------
PostgreSQL 7.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.3
20030502 (Red Hat Linux 3.2.3-20)I am having trouble with the copy command as follows:
gds2=# copy survey_match from '/home/djisgitt/perl/fixsvy.dat' with
delimiter as '>';
ERROR: could not open file "/home/djisgitt/perl/fixsvy.dat" for
reading: Permission deniedFile sysem permissions are
[djisgitt@dbserver perl]$ ls -l /home/djisgitt/perl/fixsvy.dat
-rwxrwxrwx 1 djisgitt djisgitt 198441 Nov 5 12:35
/home/djisgitt/perl/fixsvy.dat
Check, if your home and subdirectories has sufficient permissions: you
need at least r-x for others on the specific directories, otherwise your
backend is not able to access your dump.
chmod o+rx /home/djisgitt should do the job, i think
Bernd
Import Notes
Reply to msg id not found: 3FE09DD5.60800@soundenergy.comReference msg id not found: 3FE09DD5.60800@soundenergy.com