Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: What or who is PUBLIC?

RE: What or who is PUBLIC?

From: Maser, Donna (SEA) <>
Date: Mon, 12 Mar 2001 11:58:48 -0800
Message-ID: <>

  Good point Joe. Happily, we are both right. Although you are correct that PUBLIC gets created as a role 'under the covers', it is not listed as a role (try 'SELECT * FROM DBA_ROLES'), nor is it ever referred to as a role in the Oracle documentation. If you RTFM (:> as you are so fond of suggesting to others) you'll notice that PUBLIC is referred to as a 'USER GROUP'.

  I made the assumption that the question was coming from a novice DBA, so thinking of PUBLIC as a ROLE could be confusing, since it is not quite the same as "normal" roles.

-----Original Message-----
Sent: Thursday, March 08, 2001 7:40 PM
To: Multiple recipients of list ORACLE-L

I beg to differ, look at sql.bsq,

create role public

its right after the create user sys ....


"Maser, Donna (SEA)" wrote:
> Ron,
> PUBLIC is not actually a ROLE, it is a 'user group'.
> It always is available to ALL users in a database.
> If used in reference to a synonym, privilege, role,
> or subroutine (variable, constant, function, procedure)
> of a package it means the synonym, privilege, role,
> or subroutine is accessible to every database user.
> The other use of public is in reference to a rollback segment
> within a parallel server database, where public means that
> any instance requiring a rollback segment can use it .
> Donna
> -----Original Message-----
> Sent: Thursday, March 08, 2001 2:22 PM
> To: Multiple recipients of list ORACLE-L
> Can anyone point me to a paper or explanation of the Oracle role? called
> PUBLIC? How do you manage permissions for PUBLIC?
> Ron Smith
> Database Administration

The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Celltech Group immediately on:

+44 (0)1753 534655, or email ''

Celltech Group plc
216 Bath Road, Slough, SL1 4EN, Berkshire, UK

Registered Office as above. Registered in England No. 2159282

Please see the official ORACLE-L FAQ:
Author: Maser, Donna  (SEA)

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
To REMOVE yourself from this mailing list, send an E-Mail message
to: (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 Mon Mar 12 2001 - 13:58:48 CST

Original text of this message