My Oracle Support Banner

ORA-942 When Granting Access to Directory (Doc ID 831105.1)

Last updated on NOVEMBER 27, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

-- Problem Statement:
Created new directory but getting error when trying to grant access to it.

SQL> create or replace directory ORAEXP_DIR as '/oraexp/';

Directory created.

SQL> grant read , write on oraexp_dir to scott;
grant read , write on oraexp_dir to scott
*
ERROR at line 1:
ORA-00942: table or view does not exist


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.