Skip to main content
Solved

Apps10 : Add new file path for migration job

  • Aug 18, 2021 2:27 PM UTC
  • 4 replies
  • 448 views

Malan Jayanka
Sidekick (Employee)
Forum|alt.badge.img+9

Hi,

A directory is already defined in ALL_DIRECTORIS.
 


But this is not visible in migration job → file path field.


Does Any one have an idea about how to add that directory into File Path LOV.


/Malan Jayanka

Best answer by durette

GRANT ALL PRIVILEGES ON DIRECTORY ifsd_dm TO ifsapp;

 

View original
This topic has been closed for replies.

4 replies

durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • Answer
  • Aug 18, 2021 3:18 PM UTC
GRANT ALL PRIVILEGES ON DIRECTORY ifsd_dm TO ifsapp;

 


Malan Jayanka
Sidekick (Employee)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Employee)
  • Aug 18, 2021 3:21 PM UTC

Hi @durette 
Do I have to run this as SYS user?
/Malan Jayanka


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • Aug 18, 2021 3:31 PM UTC

Hi @durette 
Do I have to run this as SYS user?
/Malan Jayanka

Yes. Attempting to do this as the app owner will give you an error:

ORA-01749: you may not GRANT/REVOKE privileges to/from yourself

 


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • Aug 18, 2021 3:34 PM UTC

It’s also not enough to grant system privileges to the app owner to solve this because the IFS view ORACLE_DIRECTORIES does a WHERE EXISTS against DBA_TAB_PRIVS. It needs explicit grants.