Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> PL/SQL DDL Permissions

PL/SQL DDL Permissions

From: John Weatherman <john.weatherman_at_replacements.com>
Date: Thu, 19 Sep 2002 08:14:00 -0800
Message-ID: <F001.004D3DCB.20020919081400@fatcity.com>










I am trying to write a pl/sql package to allow end users to rebuild partitioned indexes.
I have everything working when the package.procedure is run as sys, however when I
run it as the object owner I get ORA-01031: insufficient privileges errors.  Other parts
the the package (adding new partitions, truncating the partition) work fine when run
by the table owner.  It's just the index rebuild that seems to choke.
 
Has anyone seen anything like this?  I am on Solaris 8, Oracle 9.0.1.3.  Both sys and
the table owner have alter privs on the table and indexes in question.  I've got to have
forgotten something obvious...
 
TIA,

John P Weatherman
Database Administrator
Replacements Ltd.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: John Weatherman
  INET: john.weatherman_at_replacements.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Sep 19 2002 - 11:14:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US