pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Slavisa Garic <Slavisa.Garic@infotech.monash.edu.au>
Cc: pgsql-hackers@postgresql.org
Subject: Re: COPY from question
Date: Mon, 02 Feb 2004 23:07:05 -0500
Message-ID: <11229.1075781225@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.10.10402031143460.19878-100000@bruce.csse.monash.edu.au>
References: <Pine.GSO.4.10.10402031143460.19878-100000@bruce.csse.monash.edu.au>

Slavisa Garic <Slavisa.Garic@infotech.monash.edu.au> writes:
> ... I get the following error on Linux
> machine even if permissions on the data file are 777:

>   _pg.error: ERROR:  COPY command, running in backend with effective uid
>   26, could not open file '/home/slavisa/.nimrod/experiments/demo/ejdata'
>   for reading.  Errno = Permission denied (13).

Most likely the postgres user doesn't have read permission for one of
the directories in that path.

			regards, tom lane

PS: this didn't really belong on pghackers.



view thread (6+ messages)  latest in thread

Message-ID: <11229.1075781225@sss.pgh.pa.us>
Permalink:  ../11229.1075781225@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11229.1075781225@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Slavisa.Garic@infotech.monash.edu.au, pgsql-hackers@postgresql.org
  Subject: Re: COPY from question
  In-Reply-To: <11229.1075781225@sss.pgh.pa.us>

* 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