Re: java.io.FileNotFoundException: Permission denied Exception

From: siva <sivaprasad_sreenivasan_at_non.hp.com>
Date: 29 Aug 2002 04:38:38 -0700
Message-ID: <d1f7fb68.0208290338.6c8766a1_at_posting.google.com>


Hi Adam,
my OS is UNIX
I granted permission for the entire path(directory by directory) to the File accessed.The problem was solved. Thanks a lot
cheers
sivan

> What is the OS that you are running. I had a problem when I was first
> playing with things like this because the file on a Unix machine did
> not have proper permissions. It needed to have the same user or group
> permissions that mathced the running Database. Also did you set the
> dbms_java.grant_permissions. Example from asktom
> http://asktom.oracle.com/pls/ask/f?p=4950:8:1224200::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:952229840241,%7Bjava%7D%20and%20%7Bunix%7D
> sys_at_DEV816> begin
> 2 dbms_java.grant_permission
> 3 ('RT_TEST',
> 4 'java.io.FilePermission',
> 5 '/usr/bin/ps',
> 6 'execute');
> 7 end;
> 8/
>
> If not then that should help.
>
> Adam
Received on Thu Aug 29 2002 - 13:38:38 CEST

Original text of this message