pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
error during copying .txt file
3+ messages / 3 participants
[nested] [flat]

* error during copying .txt file
@ 2002-03-19 08:48 rama tulasi <ramtulasim@yahoo.com>
  2002-03-19 19:23 ` Re: error during copying .txt file bangh <banghe@baileylink.net>
  2002-03-19 20:51 ` Re: error during copying .txt file Jean-Luc Lachance <jllachan@nsd.ca>
  0 siblings, 2 replies; 3+ messages in thread

From: rama tulasi @ 2002-03-19 08:48 UTC (permalink / raw)
  To: pgsql-admin

hi,
can you help me to solve this problem..
copy hour from '/home/staff/band.txt' using delimiters
',';
ERROR:  COPY command, running in backend with
effective uid 26, could not open file
'/home/staff/band.txt' for reading.  Errno =
Permission denied (13).

i am very greatful to you if you able to solve my
problem.

Thanks In advance
Tulasi

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: error during copying .txt file
  2002-03-19 08:48 error during copying .txt file rama tulasi <ramtulasim@yahoo.com>
@ 2002-03-19 19:23 ` bangh <banghe@baileylink.net>
  1 sibling, 0 replies; 3+ messages in thread

From: bangh @ 2002-03-19 19:23 UTC (permalink / raw)
  To: rama tulasi <ramtulasim@yahoo.com>; +Cc: pgsql-admin

set the folders' as well as file's permission
chmod o+x /home
chmod o+x /home/staff
chmod o+r band.txt

Banghe

rama tulasi wrote:

> hi,
> can you help me to solve this problem..
> copy hour from '/home/staff/band.txt' using delimiters
> ',';
> ERROR:  COPY command, running in backend with
> effective uid 26, could not open file
> '/home/staff/band.txt' for reading.  Errno =
> Permission denied (13).
>
> i am very greatful to you if you able to solve my
> problem.
>
> Thanks In advance
> Tulasi
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: error during copying .txt file
  2002-03-19 08:48 error during copying .txt file rama tulasi <ramtulasim@yahoo.com>
@ 2002-03-19 20:51 ` Jean-Luc Lachance <jllachan@nsd.ca>
  1 sibling, 0 replies; 3+ messages in thread

From: Jean-Luc Lachance @ 2002-03-19 20:51 UTC (permalink / raw)
  To: rama tulasi <ramtulasim@yahoo.com>; +Cc: pgsql-admin

Rama,

Are psql and the postgres server on the same machine?
If so, make sure the file is world readable (and the directories as
well).
If not, try:

psql -h host -d database -c "copy hour from stdin delimiters ',';" <
/home/staff/band.txt

rama tulasi wrote:
> 
> hi,
> can you help me to solve this problem..
> copy hour from '/home/staff/band.txt' using delimiters
> ',';
> ERROR:  COPY command, running in backend with
> effective uid 26, could not open file
> '/home/staff/band.txt' for reading.  Errno =
> Permission denied (13).
> 
> i am very greatful to you if you able to solve my
> problem.
> 
> Thanks In advance
> Tulasi
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-03-19 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-19 08:48 error during copying .txt file rama tulasi <ramtulasim@yahoo.com>
2002-03-19 19:23 ` bangh <banghe@baileylink.net>
2002-03-19 20:51 ` Jean-Luc Lachance <jllachan@nsd.ca>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox