Directory Privileges

Creating Directory

SQL> create or replace directory DW_DMP as ‘/u02/expdp’;

SQL> GRANT READ, WRITE ON DIRECTORY DW_DMP to expdpadmin;

To check on which directories user have privilege to read & write:
#################################################################

SQL> SELECT grantee,privilege, directory_name,directory_path
FROM dba_tab_privs t, all_directories d
WHERE t.table_name(+)=d.directory_name
and directory_name like ‘DW%’
ORDER BY 3;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: