How to grant priv in DBA_TAB_PRIVS

I logged in as system and I just execute below script, however Im getting error "SQL Error: ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist""
GRANT execute ON UTL_FILE TO USER1;
How to grant privilege on ult_file?
Edited by: 995017 on Apr 2, 2013 1:08 AM
Edited by: 995017 on Apr 2, 2013 1:14 AM

995017 wrote:
I logged in as system and I just execute below script, however Im getting error "SQL Error: ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist""
GRANT execute ON UTL_FILE TO USER1;
How to grant privilege on ult_file?
Edited by: 995017 on Apr 2, 2013 1:08 AM
Edited by: 995017 on Apr 2, 2013 1:14 AMYour subject i s- Re: How to grant priv in DBA_TAB_PRIVS
But your message part talks about - GRANT execute ON UTL_FILE TO USER1;
What is your exact issue?

Similar Messages

  • Expdp users, roles, grants (privs)

    (sorry for the cross-posting - I'm not sure how to delete or move threads and I posted this in the general questions forum thinking I was in this forum)
    So, I think this works - still in the process of testing - but what I want to do is the following:
    1) Export ONLY users, passwords, and privs from TEST
    2) Clone PROD --> TEST
    3) Drop all users in TEST excluding system users.
    4) Import original users file from Step 1.
    I think I've got it with the following. Am I missing anything? I'm testing, but if someone else has done this, I would be happy to hear from something I may be missing.
    JOB_NAME=EXPDP_USERS
    DIRECTORY=DTPUMP
    REUSE_DUMPFILES=Y
    FULL=Y
    DUMPFILE=users_test.dmp
    LOGFILE=users_test_expdp.log
    INCLUDE=SCHEMA:"IN (SELECT USERNAME FROM dba_users where default_tablespace NOT in('SYSAUX','SYSTEM'))",ROLE,USER,SYSTEM_GRANT,ROLE_GRANT,DEFAULT_ROLE,TABLESPACE_QUOTA

    Pl do not post duplicates - expdp users, roles, grants (privs)

  • How to grant privileges on all the tables in a schema

    Hi All,
    Can you tell me how to grant privileges on all the tables of a schema A
    to schema B.
    For Example:
    There are 200 tables in schema A, I wanted to grant select privilege on all the tables of a scheme A to schema B.
    Thanks in advance.

    note that USER is the user that will have the select priviledge
    the procedure includes views as well
    CREATE OR REPLACE PROCEDURE GRANT_ACCESS_ON_USER IS
    CURSOR c1 is select table_name from user_tables;
    CURSOR c2 is select view_name from user_views;
    tablename user_tables.TABLE_NAME%TYPE;
    viewname user_views.VIEW_NAME%TYPE;
    BEGIN
    tmpVar := 0;
    OPEN c1;
    loop
         fetch c1 into tablename;
         EXIT WHEN c1%NOTFOUND;
         EXECUTE IMMEDIATE 'GRANT SELECT on '||tablename ||' to USER';
    end loop ;
    close c1;
    OPEN c2;
    loop
         fetch c2 into viewname;
         EXIT WHEN c2%NOTFOUND;
         EXECUTE IMMEDIATE 'GRANT SELECT on '||viewname ||' to USER';
    end loop ;
    close c2;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    -- Consider logging the error and then re-raise
    RAISE;
    END;
    /

  • How to grant user permission to create "Credential" and "Proxies"

    Hi Team,
    Kindly let me know how to grant permission for user to create "Credential" and "Proxies" on server:
    Thanks in advance
    Santosh

    Can I revoke this permissions once I grant?
    You can use DROP and REVOKE commands to do the opposite.
    USE [msdb]
    GO
    ALTER ROLE [SQLAgentOperatorRole] DROP MEMBER [TestLogin1]
    GO
    USE [msdb]
    GO
    ALTER ROLE [SQLAgentReaderRole] DROP MEMBER [TestLogin1]
    GO
    USE [msdb]
    GO
    ALTER ROLE [SQLAgentUserRole] DROP MEMBER [TestLogin1]
    GO
    use [master]
    GO
    REVOKE ALTER ANY CREDENTIAL TO [TestLogin1] AS [sa]
    GO
    Cheers,
    Vaibhav Chaudhari
    [MCTS],
    [MCP]

  • How to grant  view privilege for Instant Portal to public users?

    How to grant view privilege for Instant Portal to public users?

    Oracle Instant Portal was designed to offer secure access to company and departmental information, and it isn't currently possible to make instant portal pages public.

  • How toplink grant permission for direct field access

    I know already know that if I need to direct access private or protected field of an instance I must grant supressAccessChecks to ReflectPermission class using policytool or edit java.policy file directly ...
    but how Toplink grant this permission to ReflectPermission class since my java.policy file remain the original.
    Kowit Laison

    In my own experiences, the first release of JDK 1.2 had problems with reflection accessing private attributes. As you mentioned, you had to have a policy file that allowed TopLink access to reflectively access private attributes.
    Since subsequent releases (1.2.x, 1.3, 1.4, etc), it always has "just worked". I.e., it seems to be default behavior of JVM's that you can acess private attributes through reflection. Sometimes some app servers come with startup scripts that have policies that change this default behavior and you have to override it, but in general, a vanilla JVM simply will allow private attribute access through reflection.
    - Don

  • Granting privs on RECORD level ....?

    Hi there.
    I'm working on an Oracle Spatial database solution and want to GRANT privs on specific records, not columns but records, for a period of time and then revoke the grants.
    In other words I wish to be able to LOCK specific records from being altered for short period of time (from minutes to several hours).
    Can that be done with GRANTS?
    If so - what is the syntax! And under what subject in the DOC can I read about it.
    Thanks very much.
    Regard
    chr

    You can control access at row level using FGAC (Fine Grained Access Control). Simplistically, it allows you to create a function that alters (add) to the WHERE clause of all SQL statements for a specified table (or set of tables).
    Let's say you have 10 customers and a single invoice table. Such a function will modify any SQL against the invoice table by adding a predicate 'WHERE CUSTOMER_ID = <current customer'. This will restrict the complete SQL CRUD interface for a customer to his data only. The current customer is determined (usually) via an Oracle Context (also called a Workspace).
    Unsure which manuals cover this - suggest that you look first at the Application Developer Fundementals and Oracle Concepts guides. The basics are sure to be described there with more technical references to other manuals.

  • Probs in granting privs

    hi there..
    i created a user named as x and given th privileges like create,select,update.
    but the user can able to create table but he cant able to select th particular table..
    for eg..
    grant select
    2 on student
    3 to x;
    Grant succeeded.
    but..
    from x's side.. he is getting the error as..
    SQL> select * from student;
    select * from student
    ERROR at line 1:
    ORA-00942: table or view does not exist..
    plz guide me..to solve this prob.
    shiv
    beginner in sql

    Your post on the "SQL and PL/SQL" forums (probs in granting privs was in the right place and has already been answered. This forum is for discussing the SQL Developer tool, rather than general SQL or PL/SQL questions.
    theFurryOne

  • How to grant anonymous access on sharepoint document library/list only not for web application

    Hello
    How to grant anonymous access on sharepoint document library/list only not for web application.I have claim based sharepoint site and has to be but i want to grant access on document library/list only.Is this possible?
    Thanks
    Rajesh Kumar "Changing the Face" can change nothing.But "Facing the Change" can change everything.

    As i am using following code
    SPSite site = SPContext.Current.Site;
                SPWeb web = SPContext.Current.Web;
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    using (SPSite ospSite = new SPSite(site.ID))
                        using (SPWeb webs = ospSite.OpenWeb(web.ID))
                            // Enable anonymous access on web application
                            webs.AllowUnsafeUpdates = true;
                            SPUrlZone urlZone = SPUrlZone.Default;
                            SPWebApplication specifiedWebApplication = ospSite.WebApplication;
                            SPIisSettings iisSettings = specifiedWebApplication.IisSettings[urlZone];
                            //iisSettings.AuthenticationMode = AuthenticationMode.Windows;
                            iisSettings.AllowAnonymous = true;                       
                            specifiedWebApplication.Update();
                            // Get document library collection here and fetch all the document urls
                            SPDocumentLibrary docLib = (SPDocumentLibrary)web.Lists["Documents"];
                            if (docLib != null)
                                docLib.BreakRoleInheritance(true, false);
                                docLib.AllowEveryoneViewItems = true;
                                docLib.AnonymousPermMask64 = SPBasePermissions.ViewPages | SPBasePermissions.OpenItems | SPBasePermissions.ViewVersions
                                    | SPBasePermissions.Open | SPBasePermissions.UseClientIntegration | SPBasePermissions.ViewFormPages | SPBasePermissions.ViewListItems;
                                //docLib.AnonymousPermMask64 = SPBasePermissions.EmptyMask;
                                docLib.Update();
    Should working but getting access denied......i am totally stuck at this point.
    Rajesh Kumar "Changing the Face" can change nothing.But "Facing the Change" can change everything.

  • How to grant refresh MV privs

    Hi gurus,
    I have a request from application team to Add 'Refresh MV' privileges to the user 'GIRI'. How should i grant refresh MV priviliege. Please suggest.
    Regards,
    Naga

    Hi,
    try for -- If refersher is not an owner for materiliazed view.
    ALTER ANY MATERIALIZED VIEW
    - Pavan Kumar N

  • How to grant create table privilege for a user on a specific table

    Hi:
    I created a user, for a test scenario. I granted this user create any table, and I made the default tablespace as example.
    When I connect as the user and try to create a table, I get this:
    SQL> create table T1 (NAME varchar2 (500), AGE number(2));
    create table T1 (NAME varchar2 (500), AGE number(2))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'EXAMPLE'
    How can I grant the necessary privilege to have user create/delete tables on tablespace example?
    Thanks.
    DA

    create user ADAM identified by radge default tablespace EXAMPLE
    quota 10M on EXAMPLE;
    for example 10Mbytes given to Example tablespace.... or you can write:
    .....quota unlimited on EXAMPLE
    and
    grant connect to ADAM
    grant create table to ADAM .....
    or
    grant connect , resource to ADAM .... although grant resource is not recommended...
    ....and something else....
    you should define temporary tablespace in create user command... otherwise the system would be used...
    Greetings...
    Sim
    Message was edited by:
    sgalaxy

  • How add grant permission in java.policy

    hi master
    sir serch in my system
    C:\Program Files\j2sdk_nb\j2sdk1.4.2\jre\lib\security
    C:\Program Files\j2sdk_nb\_jvm\lib\security
    C:\Program Files\Java\j2re1.4.1_03\lib\security
    C:\Program Files\Java\jre1.5.0_10\lib\security
    sir i have many java.policy file which one is default java.policy file
    how i add the code
    permission java.util.PropertyPermission "java.version", "read";
    permission java.util.PropertyPermission "java.vendor", "read";
    permission java.util.PropertyPermission "java.vendor.url", "read";
    permission java.util.PropertyPermission "java.class.version", "read";
    permission java.util.PropertyPermission "os.name", "read";
    permission java.util.PropertyPermission "os.version", "read";
    permission java.util.PropertyPermission "os.arch", "read";
    permission java.util.PropertyPermission "file.separator", "read";
    permission java.util.PropertyPermission "path.separator", "read";
    permission java.util.PropertyPermission "line.separator", "read";
    permission java.util.PropertyPermission "java.specification.version", "read";
    permission java.util.PropertyPermission "java.specification.vendor", "read";
    permission java.util.PropertyPermission "java.specification.name", "read";
    permission java.util.PropertyPermission "java.vm.specification.version", "read";
    permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
    permission java.util.PropertyPermission "java.vm.specification.name", "read";
    permission java.util.PropertyPermission "java.vm.version", "read";
    permission java.util.PropertyPermission "java.vm.vendor", "read";
    permission java.util.PropertyPermission "java.vm.name", "read";
    and this code
    grant codeBase "C:\Program Files\j2sdk_nb\j2sdk1.4.2\jre\lib\security
    permission java.security.AllPermission;
    give me idea how i add my code in java.policy file of using the oracle database in applete
    thank
    aamir

    in the control panel see what runtime is used by ur applet, mostly the lastest one u installed.
    C:\Program Files\Java\jre1.5.0_10\lib\security
    in this folder grant permission for the codebase where ur database is located.

  • How to grant "view all" permissions?

    I have an Oracle Portal 10.1.2.2 instance w/ several thousand pages and several hundred groups.
    How may I grant a group permission to view all portal pages w/o explicitly assigning the group permissions to each page nor granting them DBA or other elevated rights?
    My specific scenario is granting executive leadership "view all" permissions w/o editing several thousand pages.
    TIA

    Hi
    You can define permissions on the pagegroup level so that the users you want will be able to view all the pages of that pagegroup.
    You could also play with permissions inheritance but this would be done manually for each page levels if not done yet.
    Arnaud

  • How to grant update privilege on custom procedures created in apps schema?

    Hi
    We have R12.0.6 instance running in our organization. Our programmers keep requesting the 'write (update)' access on some custom procedures that are originally created in apps schema. I created one read-only like database user and granted 'execute/debug' privilges on those custom procedures, but still using this user procedures cannot be updated (in sufficient privileges).
    Once they modify procedure, forwarding me the code. Using apps user profile, i can recreate procedures using create or replace command. This way it is working fine. Our concern is how they (programmers) themselves using database read-only user does this job? What privileges needs to be granted?
    Please guide me?
    Regards
    Ariz

    Arizuddin wrote:
    Hi
    We have R12.0.6 instance running in our organization. Our programmers keep requesting the 'write (update)' access on some custom procedures that are originally created in apps schema. I created one read-only like database user and granted 'execute/debug' privilges on those custom procedures, but still using this user procedures cannot be updated (in sufficient privileges).
    Once they modify procedure, forwarding me the code. Using apps user profile, i can recreate procedures using create or replace command. This way it is working fine. Our concern is how they (programmers) themselves using database read-only user does this job? What privileges needs to be granted?
    Also provide "alter procedure" privilege to that user.
    Regards
    Rajesh

  • How to GRANT SELECT on all the tables in 1 go?

    Hi
    I have many tables (close to 200) in my Schema. I want to grant SELECT ON ALL TABLES to another user. How do I achieve this in one go?
    Thanking you in advance,
    ...

    Although Justin has given a wonderful answer. You might also review the following threads;
    Grant select on a schema
    Re: Grant select on a schema
    grant select on
    grant select  on
    grant select on tables
    Re: grant select on tables
    Adith

Maybe you are looking for