Re: plperlu Question

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: jbduffy(at)tiscali(dot)co(dot)uk
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plperlu Question
Date: 2005-11-19 00:49:48
Message-ID: m2lkzlmpg3.fsf@Douglas-McNaughts-Powerbook.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

jbduffy(at)tiscali(dot)co(dot)uk writes:

> However, when I run the function within psql, still as the postgres superuser,
> I get a 'permission denied' response to the perl 'open(DATA, "my_csv_file")
> within my 'import()' function.
>
> The csv file is world readable as I have moved it to /tmp and given the world
> 'rwx' permissions.

Is this Redhat? They apparently configure SELinux to disallow
Postgres access to files outside of /var/lib/pgsql/data.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Otto Blomqvist 2005-11-19 00:51:18 Postgres Disconnection problems
Previous Message Jeremy Sellors 2005-11-18 23:29:29 Createlang plpgsql