From: Tino Schwarze <postgresql@tisc.de>
To: pgsql-admin@postgresql.org
Subject: Re: answer my question, please!!!
Date: Fri, 18 Jul 2008 13:30:26 +0200
Message-ID: <20080718113026.GB22470@easy2.in-chemnitz.de> (raw)
In-Reply-To: <9c3360200807180229u16c49b30m442f0937cf29d59f@mail.gmail.com>
References: <9c3360200807180229u16c49b30m442f0937cf29d59f@mail.gmail.com>
On Fri, Jul 18, 2008 at 04:29:42PM +0700, ria ulfa wrote:
> 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..
The file is read by the server process, therefore, the user the server
process runs as needs read permissions for the file.
HTH,
Tino.
PS: The more exclamation marks you use, the lower get the chances that
you're taken serious and actually get a response.
--
'Multiple exclamation marks,' he went on, shaking his head, 'are a
sure sign of a diseased mind.' (Terry Pratchett)
www.craniosacralzentrum.de
www.forteego.de
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: postgresql@tisc.de
Subject: Re: answer my question, please!!!
In-Reply-To: <20080718113026.GB22470@easy2.in-chemnitz.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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