RE: granting sys objects with grant option in 11.2.0.3 the grant option has no effect

  • From: Michael Dinh <mdinh@xxxxxxxxx>
  • To: "'Kurt-Franke@xxxxxx'" <Kurt-Franke@xxxxxx>, oracle-l <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 21 Feb 2012 09:01:27 -0800

I am seeing the same issue for Solaris.
> sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Tue Feb 21 08:57:42 2012

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning option

SYS@oracle> create user ttt_user identified by asdfghjk;

User created.

SYS@oracle> grant create session to ttt_user;

Grant succeeded.

SYS@oracle> grant execute on dbms_output to ttt_user with grant option;

Grant succeeded.

SYS@oracle> create user ttt2_user identified by asdfghjk;

User created.

SYS@oracle> connect ttt_user/asdfghjk
Connected.
TTT_USER@oracle> exec dbms_output.enable;

PL/SQL procedure successfully completed.

TTT_USER@oracle> grant execute on sys.dbms_output to ttt2_user;
grant execute on sys.dbms_output to ttt2_user
                     *
ERROR at line 1:
ORA-01031: insufficient privileges



Michael Dinh 
Disparity Breaks Automation (DBA)

Great minds discuss ideas; average minds discuss events; small minds discuss 
people - Eleanor Roosevelt 
Confidence comes not from always being right but from not fearing to be wrong - 
Peter T Mcintyre
 

-----Original Message-----
From: Kurt-Franke@xxxxxx [mailto:Kurt-Franke@xxxxxx] 
Sent: Tuesday, February 21, 2012 8:53 AM
To: Michael Dinh; oracle-l
Cc: Kurt.Franke@xxxxxxxxxxxxx; Ronald.Stiefel@xxxxxxxxxxxxx
Subject: Re: granting sys objects with grant option in 11.2.0.3 the grant 
option has no effect



Yes, the creation of the users and the grants are done connected with sys as 
sysdba

kf


-----Ursprüngliche Nachricht-----
Von: "Michael Dinh" <mdinh@xxxxxxxxx>
Gesendet: 21.02.2012 17:44:34
An: "'Kurt-Franke@xxxxxx'" <Kurt-Franke@xxxxxx>, oracle-l 
<oracle-l@xxxxxxxxxxxxx>
Betreff: RE: granting sys objects with grant option in 11.2.0.3 the grant 
option has no effect

>Were you connected as SYS when executing - grant execute on dbms_output to 
>ttt_user with grant option; ???
>
>Michael Dinh
>Disparity Breaks Automation (DBA)
>
>Great minds discuss ideas; average minds discuss events; small minds discuss 
>people - Eleanor Roosevelt 
>Confidence comes not from always being right but from not fearing to be wrong 
>- Peter T Mcintyre
> 
>
>-----Original Message-----
>From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
>Behalf Of Kurt-Franke@xxxxxx
>Sent: Tuesday, February 21, 2012 6:31 AM
>To: oracle-l
>Cc: Kurt.Franke@xxxxxxxxxxxxx; Ronald.Stiefel@xxxxxxxxxxxxx
>Subject: FW: granting sys objects with grant option in 11.2.0.3 the grant 
>option has no effect
>
...
--
//www.freelists.org/webpage/oracle-l


Other related posts: