Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: file access with UTL_FILE

Re: file access with UTL_FILE

From: Chuck Hamilton <chuckh_at_dvol.com>
Date: 1997/01/21
Message-ID: <32eade39.5312236@n5.gbso.net>#1/1

Klaus Schliffenbacher <sf_at_iwb.mw.tu-muenchen.de> wrote:

>I am trying to access files by invoking the UTL_FILE package.
>Unfortunately the FOPEN procedure raises an INVALID_PATH exception, and
>I have no idea why.
>
>Could it be I have provided the wrong parameter in initSID.ora?
>
>UTL_FILE_DIR = '/user/oracle/mydir'
>
>I am working with ORACLE 7.3, Irix 6.2
>
>Klaus Schliffenbacher
>sf_at_iwb.de

You can't open files in any directory you want. The allowable directories must be specified in the init file with the UTL_FILE_DIR parameter.

This is because anything written using UTL_FILE is being written with the permissions of whoever started the database. That could be an enormous security hole if they had free reign of the system.

--
Chuck Hamilton
chuckh_at_dvol.com

This message delivered by electronic sled dogs. WOOF!
Received on Tue Jan 21 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US