Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> DBMS_Java.GRANT_PERMISSION() problem, NT 4.0, shared drives
Hi:
I have a Java stored procedure that is given a directory (e.g.,
'C:/Temp/Mike/') and a filename (e.g., 'foo.txt') (forgive me if I got the
'/' wrong in the example, that isn't the problem in the code). The
procedure writes to a new file of the given name in the given path. I use
DBMS_JAVA.GRANT_PERMISSION() to grant 'read,write' to the DB User and it
works fine IF I give it a local drive (NT 4.0) If I give it a shared drive
like 'E:/Temp/mydir/' I get a java io error 'FileNotFound'. Anyone know
why? I SUSPECT it might be that shares in existance depend on who is logged
in, and the files are written by some admin user on behalf of the real user.
What do I need to do to write to a shared folder on NT with such a stored
procedure?
Thanks,
Mike Received on Tue Mar 27 2001 - 00:40:34 CST
![]() |
![]() |