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: Pete Sharman <peter.sharman_at_oracle.com>
Date: Fri, 14 Mar 2003 11:09:42 -0800
Message-ID: <F001.0056A98B.20030314110942@fatcity.com>


Nah, can't do that! It would make our training courses that use it too difficult to set up! :)

Pete
"Controlling developers is like herding cats." Kevin Loney, Oracle DBA Handbook
"Oh no, it's not. It's much harder than that!" Bruce Pihlamae, long-term Oracle DBA  

-----Original Message-----
Kirti
Sent: Friday, March 14, 2003 8:54 AM
To: Multiple recipients of list ORACLE-L

Precisely....

But wouldn't it be nice if Oracle made '*', in the utl_file_dir specification, an unacceptable parameter value?

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

True, but any DBA who puts utl_file_dir=* into their parameter file should be hung, drawn and quartered anyway! Just imagine what the effect is - you've now given people rights to open system01.dbf, write to it and close it. Hmm, could that cause any problems? :)

Pete
"Controlling developers is like herding cats." Kevin Loney, Oracle DBA Handbook
"Oh no, it's not. It's much harder than that!" Bruce Pihlamae, long-term Oracle DBA  

-----Original Message-----
Landrum
Sent: Friday, March 14, 2003 6:19 AM
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: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.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: Pete Sharman
  INET: peter.sharman_at_oracle.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). Received on Fri Mar 14 2003 - 13:09:42 CST

Original text of this message

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