Skip site navigation (1) Skip section navigation (2)

I can not import text file... Errno = Permission denied (13)

From: Michael Irschick <mirschick(at)penguinsystems(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: I can not import text file... Errno = Permission denied (13)
Date: 1999-03-25 06:20:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I have not been able to insert a text file into my postgres table.

Here is the file.
-rw-rw-r--   1 mirschic mirschic       14 Mar 24 21:26 test.txt


oprs=> copy entmap from '/home/mirschick/test.txt' using delimiters ',';

ERROR:  COPY command, running in backend with effective uid 100, could
not open file '/home/mirschick/test.txt' for reading.  Errno =
Permission denied (13).


So what is going on?  I tried diff text files, and diff tables I always
get the same error.  (Errno = Permission denied)

my username is mirschick
I created the text file as mirschick
I created the table, and database as mirschick.


Thanks for any help..  I am a newbie....


pgsql-interfaces by date

Next:From: MAILER-DAEMONDate: 1999-03-25 06:39:31
Subject: Undeliverable Message
Previous:From: MAILER-DAEMONDate: 1999-03-25 06:16:08
Subject: Undeliverable Message

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group