My Oracle Support Banner

Granting The Execute Privilege On SYS Owned Packages Fails With ORA-01031 On 11.2.0.3.0 (Doc ID 1393228.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.3 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms

Starting with RDBMS version 11.2.0.3, after granting EXECUTE WITH GRANT OPTION on certain SYS owned packages to a user, that user cannot grant execute on the package to another user anymore, for example:


$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Tue Jan 10 13:28:48 2012

SQL> create user DBA_MARC identified by manager;

User created.


SQL> grant create session to DBA_MARC;

Grant succeeded.


SQL> grant execute on SYS.DBMS_SCHEDULER to DBA_MARC with grant option;

Grant succeeded.

SQL> create user USER_MARC identified by manager;

User created.

SQL> connect DBA_MARC/manager
Connected.
SQL> grant EXECUTE ON SYS.DBMS_SCHEDULER TO USER_MARC;

ERROR at line 1:
ORA-01031



Changes

This issue is introduced after upgrading to version 11.2.0.3.

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
  References

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