had a user today who really could not grasp the an error when trying to do an export with expdp
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at “SYS.UTL_FILE”, line 536
ORA-29283: invalid file operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at “SYS.UTL_FILE”, line 536
ORA-29283: invalid file operation
a quick check to see what the user had defined so far:
SQL> select directory_name, directory_path from dba_directories
DIRECTORY_NAME DIRECTORY_PATH
——————————————————————————–
DBBACKUPS e:\dbbackups
——————————————————————————–
DBBACKUPS e:\dbbackups
two things she hadn’t done:
- given correct permissions for that user to acccess the logical directory for DBACKUPS:
SQL> GRANT read, WRITE ON DIRECTORY DBACKUPS TO [username];
2. create the physical directory
cmd> mkdir e:\dbbackups