PL/SQL (MOSC)

MOSC Banner

ORA-29283 Encountered when file not already created

edited Oct 15, 2012 10:50PM in PL/SQL (MOSC) 4 commentsAnswered ✓
Hi folks,
I have an unusual problem, or at least something I have not encountered before.

I was engaged to support an issue on a development instance for a package making simple use of UTL_FILE  running a package remotely I hit the ORA-29283: invalid file operation error. I have granted READ & WRITE for the directory to the relevant user.

When I login to the LPAR via SSH, login to SQL*Plus as the owning schema and run the procedure, the file is created without issue.

Secondly if I create a dummy file in the filesystem the directory is pointing to, and now run the procedure remotely there is no error and the data is written to the empty file.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center