Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: something magic about SYS.LINK$ ?
EdStevens schrieb:
> Maxim Demenko wrote:
>
>>EdStevens schrieb: >> >>>Oracle 9.2.0.7.0 on Win2003 >>> >>>Stumbled on to this, and don't have an explanation: >>> >>>Connected as SYSTEM, with the standard, out-of-the-box DBA role: >>> >>>system_at_NPSTDB.WORLD> select count(*) from sys.link$; >>>select count(*) from sys.link$ >>> * >>>ERROR at line 1: >>>ORA-01031: insufficient privileges >>> >>>A little further hunting shows that there are only 2 of the sys.$ >>>tables that this happens on ... SYS.LINK$ and SYS.USER_HISTORY$ >>> >>> >>>??? >>> >> >>Maybe issue of O7_dictionary_accessibility ? If set to FALSE, all tables >>owned by SYS must be granted explicitly ( select any table combined with >>select any dictionary are not sufficient ). >> >>Best regards >> >>Maxim
The rest of 'visible' tables owned by sys maybe granted to system by some roles. Which of them - it depends, which options are installed ( which cat*.sql were executed ).
You can compare output of
select grantee,table_name from dba_tab_privs where owner='SYS' AND
TABLE_NAME LIKE '%$;
and select table_name from dba_tables where owner = 'SYS' AND TABLE_NAME
LIKE '%$';
Best regards
Maxim Received on Fri Sep 02 2005 - 13:12:29 CDT