agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] question on reading files using PL/Java
Date: Sun, 28 Aug 2011 23:21:53 -0700
Message-ID: <4E5B3001.8040405@hogranch.com> (raw)
In-Reply-To: <1270594531.828544.1314584875392.JavaMail.root@sz0075a.westchester.pa.mail.comcast.net>
References: <1270594531.828544.1314584875392.JavaMail.root@sz0075a.westchester.pa.mail.comcast.net>

On 08/28/11 7:27 PM, tjkincaid at comcast.net wrote:
> ERROR:  java.lang.SecurityException: read on 
> /home/tomkincaid/pgdevel/pljava/ubiq-aug-2011-aug3.xml

d0es that file and all the directories above it have world-read 
attributes?    pljava will be running as the postgresql *server* user, 
probably 'postgres', not as your local user account, so will only be 
able to access files that 'postgres' can access.



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast





view thread (3+ messages)

Message-ID: <4E5B3001.8040405@hogranch.com>
Permalink:  ../4E5B3001.8040405@hogranch.com/
Also on:    postgresql.org/message-id/4E5B3001.8040405@hogranch.com

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] question on reading files using PL/Java
  In-Reply-To: <4E5B3001.8040405@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox