Re: Permission denied while importing data from a file?

From: "Adam Ruth" <aruth(at)intercation(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Permission denied while importing data from a file?
Date: 2000-04-10 13:53:37
Message-ID: 8csmfp$1u3b$1@news.aros.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've gotten that message before when users couldn't read the directory the
file is in.

--
Adam Ruth
InterCation, Inc.
www.intercation.com
"Felix Slager" <slager(at)hydra(dot)accu(dot)uu(dot)nl> wrote in message
news:38F0ACDC(dot)CBCE5538(at)hydra(dot)accu(dot)uu(dot)nl(dot)(dot)(dot)
> LS,
>
> i'm trying to copy data into a table using a copy command using:
>
> COPY tabelName FROM '/somewhere/somebody/datafile.txt';
>
> I've given everybody the right to use the datafile.txt (execute, read,
> write) with an incredible chmod 7777. Still i get the message:
>
> ERROR: COPY command, running in backend with effective uid nr 666,
> could not open file '/somewhere/somebody/datafile.txt' for reading.
> Errno = Permission denied (13).
>
> Why? I mean how does this happen?
> Please help...
>
> Felix

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2000-04-10 13:56:15 Re: Minor hack to support LO string searches
Previous Message Andrew Schmeder 2000-04-10 13:48:20 Re: recursive queries?