pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stéphane FILLON <fillons@offratel.nc>
To: pgsql-sql <pgsql-sql@postgresql.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Permission problem with COPY FROM
Date: Wed, 15 Sep 1999 03:50:09 +1100
Message-ID: <000e01befedd$3e2210c0$a6373ad1@portable> (raw)

Hi,

Each time I try to insert an ascii file with the COPY FROM command, I get the following message:

 "ERROR: COPY command, running in backend with effective uid 501 (that's Postgres), could not open file '/usr/local/.../cltclr001' for reading. Error: Permission not allowed (13)."

What rights do I have to put to process the COPY command inside PSQL.

I have try nearly everything, actual rights: uog+rw even on the directory.


What's wrong.

Stephane FILLON

view thread (4+ messages)  latest in thread

Message-ID: <000e01befedd$3e2210c0$a6373ad1@portable>
Permalink:  ../000e01befedd$3e2210c0$a6373ad1@portable/
Also on:    postgresql.org/message-id/000e01befedd$3e2210c0$a6373ad1@portable

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: fillons@offratel.nc, pgsql-hackers@postgresql.org, pgsql-general@postgresql.org
  Subject: Re: Permission problem with COPY FROM
  In-Reply-To: <000e01befedd$3e2210c0$a6373ad1@portable>
  References: <000e01befedd$3e2210c0$a6373ad1@portable>

* 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