Database Utilities (MOSC)

MOSC Banner

How to export DIRECTORY grants when exporting schema

edited Oct 8, 2009 3:03AM in Database Utilities (MOSC) 2 commentsAnswered
How to export DIRECTORY grants when exporting schema
Schema SCHA has CREATE DIRECTORY privilege.
The directory is created but ALL_DIRECTORIES show owner as "SYS".
We grant READ,WRITE to SCHA on the directory.

When we export the schema how do we make sure the directories created by the schema user is also exported, together with grants?

Currently we're running a separate script which extracts this out of the data dictionary and into a generated script, but this is not ideal.


sr_786 

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