Re: copy command problem
От | Bernd Helmle |
---|---|
Тема | Re: copy command problem |
Дата | |
Msg-id | 3FE094BB.6090402@oopsware.de обсуждение исходный текст |
Ответ на | copy command problem (Don Isgitt <djisgitt@soundenergy.com>) |
Список | pgsql-general |
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 is > > gds2=# 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 denied > > File 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
В списке pgsql-general по дате отправления: