Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2EACC650088 for ; Fri, 18 Jul 2008 06:38:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 23042-07 for ; Fri, 18 Jul 2008 06:38:20 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by postgresql.org (Postfix) with ESMTP id B3104650121 for ; Fri, 18 Jul 2008 06:38:23 -0300 (ADT) Received: by yw-out-2324.google.com with SMTP id 3so75436ywj.73 for ; Fri, 18 Jul 2008 02:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=NvlFVBfl8aLsrKk/bOgu3ngQPbql3DIRnOZUvlSp4M8=; b=pjUsLz6DtnHvcDdbT7hUnnJ/ITAC+5MUDiDqO4VaECphWMj0XLF+Lx5xQjCA9dOEBB LPGT2m3lbpxjc8ws4ztL6vO+690w0n19NyTkW3yhuh49pMcaKN0oHMYjkOA2VW7juasE wt/JXDFu4mz2obi8305JnBfQ95uIRB7Agufuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=ccSYSn/RaHeovNyfBQnHfj5eBHcH99iIfLbmlswocv+AG0rjVNu4Q8Gfb56iPKApLB xk8zsk5GCDy0ZNGvSYxnG4f0oAHLxY/UDyxCOwLjlJlhoPeN/5pN2PW8pHu7FPVN8BS9 dyslKlPVmpHaew1GksvxWrxMlpTC0FGMpoW70= Received: by 10.114.146.1 with SMTP id t1mr2733504wad.30.1216373901519; Fri, 18 Jul 2008 02:38:21 -0700 (PDT) Received: by 10.115.94.12 with HTTP; Fri, 18 Jul 2008 02:38:21 -0700 (PDT) Message-ID: Date: Fri, 18 Jul 2008 11:38:21 +0200 From: "Ewald Geschwinde" To: pgsql-admin@postgresql.org Subject: Re: answer my question, please!!! In-Reply-To: <9c3360200807180229u16c49b30m442f0937cf29d59f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_58370_31729301.1216373901511" References: <9c3360200807180229u16c49b30m442f0937cf29d59f@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200807/158 X-Sequence-Number: 29768 ------=_Part_58370_31729301.1216373901511 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/7/18 ria ulfa : > i want to copy table from file with command: > COPY log FROM '/tmp/logfile.txt'; > but there is error: > ERROR: could not open file "/tmp/logfile.txt" for reading: Permission > denied > what can i do for repair this error?? > thanks for the answer.. > you should use a user which can read this file or change permissions this is not a postgres problem -- Ewald Geschwinde ------=_Part_58370_31729301.1216373901511 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline


2008/7/18 ria ulfa <riakdr@gmail.com>:
i want to copy table from file with command:
     COPY log FROM '/tmp/logfile.txt';
but there is error:
     ERROR: could not open file "/tmp/logfile.txt" for reading: Permission denied
what can i do for repair this error??
thanks for the answer..

you should use a user which can read this file or change permissions
this is not a postgres problem

--
Ewald Geschwinde
------=_Part_58370_31729301.1216373901511--