Received: from beamish.nsd.ca (unknown [205.150.156.194]) by postgresql.org (Postfix) with ESMTP id 53A3C475A07 for ; Tue, 19 Mar 2002 15:48:04 -0500 (EST) Received: (from smap@localhost) by beamish.nsd.ca (8.9.3/8.9.3) id PAA05220; Tue, 19 Mar 2002 15:48:03 -0500 X-Authentication-Warning: beamish.nsd.ca: smap set sender to using -f Received: from reddog.nsd.ca(192.168.101.30) by beamish.nsd.ca via smap (V2.1/2.1+anti-relay+anti-spam) id xma005216; Tue, 19 Mar 02 15:47:59 -0500 Received: from nsd.ca (jllachan-linux.nsd.ca [192.168.101.148]) by reddog.nsd.ca (8.8.7/8.8.7) with ESMTP id PAA07132; Tue, 19 Mar 2002 15:51:55 -0500 Message-ID: <3C97A4DF.B036F840@nsd.ca> Date: Tue, 19 Mar 2002 15:51:43 -0500 From: Jean-Luc Lachance X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.9-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: rama tulasi Cc: pgsql-admin@postgresql.org Subject: Re: error during copying .txt file References: <20020319084838.105.qmail@web12706.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/254 X-Sequence-Number: 3788 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)