Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: getting error on UTL_FILE.FOPEN
Maxim Demenko wrote:
>> Did you grant READ on the directory?
Yes and no.
CREATE DIRECTORY is only granted by default to SYS and the DBA role. If you created the directory as SYS or SYSTEM, and then try to use it as a schema owner other than SYS or SYSTEM it will not work. The directory's creator must grant READ on the DIRECTORY to the schema owner that will use it as is stated in what you copied.
Hopefully the person using UTL_FILE is not doing so as SYS or SYSTEM thus my concern that READ be granted to the end-user schema.
Likely we have just been miscommunicating as I'm sure you knew this.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Thu Nov 10 2005 - 10:09:17 CST