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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: utl_file_dir and 9i

RE: utl_file_dir and 9i

From: John Dunn <john.dunn_at_sefas.co.uk>
Date: Fri, 14 Mar 2003 07:33:38 -0800
Message-ID: <F001.0056A242.20030314073338@fatcity.com>


Which is why I want to know if in 9i I can specify a top level directory

John
-----Original Message-----
Sent: 14 March 2003 14:19
To: Multiple recipients of list ORACLE-L

Good points, also consider the security issues that exist because of 'util_file_dir=*'.
With that, any user that can run a procedure and write (or overwrite) files in locations that should be accessible only by oracle.

>>> Rajendra.Jamadagni_at_espn.com 03/14/03 07:08AM >>> John,

In 9i, Oracle is recommending that you make use of 'CREATE DIRECTORY' rather than UTL_FILE_DIR ... firstly because a directory can be created dynamically, so to adda new sub-directory you don't have to bounce the instance.

Plus instead of '*', you can dynamically create directory ... read/write and drop the directory if you wish.

I'd recommend you make use of this feature John, because UTL_FILE_DIR might just go away .... because of its limitations.

Raj



Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !!

-----Original Message-----
Sent: Friday, March 14, 2003 4:44 AM
To: Multiple recipients of list ORACLE-L

In 8i we set utl_file_dir = "*" because otherwise we have to specify lots of individual directories. It was not possible to just specify a top level directory.

Has this changed in 9i? Is it possible to specify a top level directory and then utl_file can write to subdirectories?

John

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: John Dunn
  INET: john.dunn_at_sefas.co.uk

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Darrell Landrum
  INET: DLANDRUM_at_zalecorp.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: John Dunn
  INET: john.dunn_at_sefas.co.uk
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Mar 14 2003 - 09:33:38 CST

Original text of this message

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