From: | Nuchanach Klinjun <nuchk(at)inet(dot)co(dot)th> |
---|---|
To: | Stéphane FILLON <fillons(at)offratel(dot)nc> |
Cc: | pgsql-sql <pgsql-sql(at)postgreSQL(dot)org>, pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>, pgsql-general <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Permission problem with COPY FROM |
Date: | 1999-09-15 04:21:48 |
Message-ID: | Pine.OSF.4.10.9909151118490.1360-100000@johann.inet.co.th |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
Hi,
I've faced that problem too, then I use '\copy' instread
of 'copy' because 'copy' command will asked for super user previlege.
example
^^^^^^ -> \copy '/your location/your filename' to tablename;
Cheers,
On Wed, 15 Sep 1999, [iso-8859-1] Stphane FILLON wrote:
> 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
>
-----------------------------------------
Nuchanach Klinjun
R&D Project. Internet Thailand
Email: nuchk(at)inet(dot)co(dot)th
From | Date | Subject | |
---|---|---|---|
Next Message | Moray McConnachie | 1999-09-15 07:54:25 | Re: [GENERAL] shutdown gracefully & single user mode? |
Previous Message | Thomas Lockhart | 1999-09-15 01:52:43 | Re: [HACKERS] BUG with UNIQUE clause |
From | Date | Subject | |
---|---|---|---|
Next Message | Nuchanach Klinjun | 1999-09-15 04:27:28 | problem with SQLGetInfo |
Previous Message | Thomas Lockhart | 1999-09-15 01:52:43 | Re: [HACKERS] BUG with UNIQUE clause |
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Alb | 1999-09-15 05:41:24 | Re: remote database connection |
Previous Message | Thomas Lockhart | 1999-09-15 01:52:43 | Re: [HACKERS] BUG with UNIQUE clause |