Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Java Execute Permissions
Oracle 8.1.6 on Solaris 2.7
Assume we have
PL/SQL stored proc calling Java stored proc which invokes a shell script on the server.
I have implemented this and it works.
In order to be able to call the shell script, let's call it file.sh, we have to grant privileges like this:
begin
dbms_java.grant_permission
('WD',
'java.io.FilePermission',
'/apps/cgi/bin/file.sh',
'execute');
Do we need to use dbms_java.grant_permission to grant explicit privileges on any files that file.sh wishes to execute as well?
-- Jeremy OvendenReceived on Fri Jun 07 2002 - 10:00:55 CDT
![]() |
![]() |