UTL_FILE.FRENAME Fails With ORA-29283
Last updated on JULY 05, 2017
Applies to:PL/SQL - Version 18.104.22.168 and later
Information in this document applies to any platform.
***Checked for relevance on 6th Dec 2016***
There is a OS file file1.txt owned by oracle user.
The permissions on the file are as follows:
At OS prompt, using the "mv" command to rename the file is successful. However using UTL_FILE.FRENAME fails with ORA-29283 even though this internally executes with OS user oracle's privileges.
Consider directory oradir owned by oracle
Permissions on the directory are as follows:
Inside oradir, there is a file file1.txt owned by a different user (like root) and "oracle" user is not a part of group of the file.
Permissions in the file are as follows:
At OS level, oracle user can use "mv" command to successfully rename the file file1.txt. However using UTL_FILE.FRENAME fails with ORA-29283 even though this internally executes with OS user oracle's privileges.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms