Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: utl_file_dir and 9i
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
-----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).Received on Fri Mar 14 2003 - 10:54:17 CST
![]() |
![]() |