My Oracle Support Banner

ORA-1927 While Revoking Object Privileges as the Object Owner (Doc ID 121384.1)

Last updated on OCTOBER 22, 2023

Applies to:

Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Information in this document applies to any platform.

Symptoms

You are logged in as the owner of an object and cannot revoke an object privilege on that object.

How do you determine who granted the privilege and thus who can revoke it ?You receive the following error message:

SQL>; revoke select on <username>.emp from sys;
revoke select on <username>.emp from sys
*
ERROR at line 1:
ORA-01927: cannot REVOKE privileges you did not grant

Error:  ORA 1927
Text:   original grantor must REVOKE privileges
-------------------------------------------------------------------------------
Cause:  Only the original grantor of privileges can REVOKE those privileges.
Action: Ask the database administrator for the grantor of the privileges and ask that person to revoke the privileges.

Changes

 NA

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!


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