RE: utl_file_dir and 9i
Title: RE: utl_file_dir and 9i Raj Thanks for that. I notice that even using CREATE DIRECTORY method, it it still not posible to specify a parent directory and then have access to sub directories. Each directory must be specified in a CREATE DIRECTORY statement. In our case, as we need to access a large number(hundreds) of sub directories, that we will need to issue large numbers of CREATE DIRECTORY statements. Is this likely to cause any issues with Oracle? John -Original Message-From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED]Sent: 17 March 2003 14:56To: 'John Dunn'Subject: RE: utl_file_dir and 9i John, http://technet.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96612/u_file.htm#998235 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-From: John Dunn [mailto:[EMAIL PROTECTED]Sent: Monday, March 17, 2003 4:03 AMTo: Jamadagni, RajendraSubject: RE: utl_file_dir and 9i Raj Thanks for this. This looks the way to go. However, I am struggling to find an example. If you can point me at an example, I would be grateful T.I.A John -Original Message-From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED]Sent: 14 March 2003 13:09To: Multiple recipients of list ORACLE-LSubject: RE: utl_file_dir and 9i 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- From: John Dunn [mailto:[EMAIL PROTECTED]] Sent: Friday, March 14, 2003 4:44 AM To: Multiple recipients of list ORACLE-L Subject: utl_file_dir and 9i 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: utl_file_dir and 9i
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? - Kirti -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. >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
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? - Kirti -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. >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: utl_file_dir and 9i
Title: RE: utl_file_dir and 9i Pete, At-least that way to can verify that your backup and recovery scenario's are up-to-date 8:) 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- From: Pete Sharman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 14, 2003 10:19 AM To: Multiple recipients of list ORACLE-L Subject: RE: utl_file_dir and 9i 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 This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*2
RE: utl_file_dir and 9i
Title: RE: utl_file_dir and 9i The answer is still NO 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- From: John Dunn [mailto:[EMAIL PROTECTED]] Sent: Friday, March 14, 2003 10:34 AM To: Multiple recipients of list ORACLE-L Subject: RE: utl_file_dir and 9i 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. >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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). This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*2
RE: utl_file_dir and 9i
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. >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: utl_file_dir and 9i
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. >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: utl_file_dir and 9i
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. >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: utl_file_dir and 9i
Title: RE: utl_file_dir and 9i 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- From: John Dunn [mailto:[EMAIL PROTECTED]] Sent: Friday, March 14, 2003 4:44 AM To: Multiple recipients of list ORACLE-L Subject: utl_file_dir and 9i 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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). *This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*1