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: UTL_FILE Problem

Re: UTL_FILE Problem

From: Hassan viii <omotm_at_pestilence.net>
Date: Tue, 05 Sep 2000 10:37:22 +0100
Message-ID: <39B4BED2.9E330E2D@pestilence.net>

Dirk Mika wrote:
>
> Hi,
>
> > UTL_FILE contains some user defined exception listed in
> > package specification.
> >
> > invalid_path EXCEPTION;
> > invalid_mode EXCEPTION;
> > invalid_filehandle EXCEPTION;
> > invalid_operation EXCEPTION;
> > read_error EXCEPTION;
> > write_error EXCEPTION;
> > internal_error EXCEPTION;
> >
> > These ones appears with wrong work with files or wrong
> > permissions ...etc. You have to catch these exception in your
> > PL/SQL program to ensure all is done right
> >
> > Starous
>
> I finaly find it to be a matter of filepermissions. I'm the owner of the
> file i tend to write to, but i have to set permissions to 664. I have to
> figure out why, but it works for this time.
>

the oracle owner needs access to the file, seems like this is working through group membership (the second 6 in 664). If you use a fresh file name for writing and check the group on it after Oracle has created it you'll see wot i mean. Received on Tue Sep 05 2000 - 04:37:22 CDT

Original text of this message

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