Issue creating a MatView for another user w/ a private DB Link

I am having an issue creating a materialized view for another user where the select statement for the MV uses a private db link. Looks like the following:
Logged in as user X, I run:
create materialzied view Y.foo
(select blah
from tbl@y_priv_db_link_here);
When I try to run this, I get a permission issue. User X has DBA privilege, user Y has create MV priv and has select priv on the table in the db link.
I can create this MV logged in as user Y. Cant create this logged in a user Y in test or prod environment, so this isn't an option.
Any ideas on how I can create this logged in a user X? I believe the issue here is that since this is a private db link owned by user Y, user X doesn't have access to this db link.
thanks.

Here is what I was trying to do:
SQL> CREATE MATERIALIZED VIEW extract.ADDRESS
2 TABLESPACE xxx
3 BUILD IMMEDIATE
4 REFRESH
5 COMPLETE
6 ON DEMAND
7 WITH PRIMARY KEY
8 AS
9 ( SELECT ... FROM address@CM_TO_CPD);
FROM pwb_address@CM_TO_CPD)
ERROR at line 11:
ORA-01031: insufficient privileges
Message was edited by:
Jim S

Similar Messages

  • Created help file either won't open or opens blank when emailed or copied for another user to see it.

    Created help file either won't open or opens blank when emailed or copied for another user to see it.
    Our HR person made a help file she wants to email to someone or copy to a network share.
    -If she emails it the other person cannot open it.
    -If she copies it even from her desktop where she saved it to the folder with all the other files, it opens blank.
    Any help would be appreciated.

    I think they must be swapping out .html for .chm in DW or something. What the OP describes sure sounds like what happens when you do that.
    @dfiore27101
    DW doesn't support .chm file types. Adding the extension doesn't compress the images into the file to create a true .chm.
    Adding .chm will make a perfectly good .html file stop displaying in DW though.
    An easier way to send someone .html help files would be to archive their folder as a .zip then email the .zip. The recipient would then need to extract the archive to view the files in their browser.
    I don't know of any way to create real .chm files in DW.

  • CREATE/DROP synonyms in another user's schema without ANY privilege

    What's the best way to enable a user to create/drop synonyms in another user's schema without doing any of the following?:
    1) Granting CREATE/DROP ANY SYNONYM or CREATE/DROP PUBLIC SYNONYM to the synonym creator.
    2) Logging in as the user that will own the synonym to create the synonym.
    * Although option #2 might be ideal, it would require reworking a lot of code in our environment.
    I thought about creating a stored procedure in the syn-owner's schema that issues the "CREATE SYNONYM" DDL command and then granting EXECUTE on this proc to the syn-creator -- but, it's my understanding that it's best to avoid putting DDL inside stored code.
    Any ideas?
    Oracle version is 10.2.0.4

    DBA should recognize"should" is the operative word here :)
    One clarification: the user from which the DBA's are planning to revoke the "ANY" privs is an account used internally by one of our ETL tools -- not a developer account. In fact, only the ETL tool itself and the DBA's can log into the account in TST/PRD (developers can log in with it in DEV). Even so, the DBA's still want to revoke "ANY" privs from ALL non-DBA accounts in ALL databases (including DEV). I kind of think that this is overkill, but then again, I don't make the rules here!
    Anyhow, it seems that what we need here is the insight of a political scientist rather than that of a DBA. (not that your perspective is not valued!!)
    Seems that I'll be going back to the drawing board...
    Thanks for your help.

  • Allowing a user to create/drop tables in another users schema

    We have a central shared schema (TEAM). So we can monitor who is doing what users have there own login(USER1, USER2...). Is there a way to allow a user to create/drop objects in another user.
    I.e.
    SQL> connect USER1
    SQL> create team.table1(col1 char(1));
    SQL> drop table team.table1:
    How can this be set up?
    Ben

    Here is what you can do, If you want to keep track of what users are doing.
    Open the glogin.sql file and set the spool like this
    spool /oracle/audit/SID_&_user.logEverytime user logs in it will be populated and you will be able to see who is doing what.
    You can remove the write permission on glogin.sql so that no one can modify it.
    You also need to create a script like this, which would rename it every time same user would login.
    #!/bin/ksh
    time=`date +"%b"_"%d"_"%H"_"%M"`
    ##you need to pass some more variables and while loop to include all the users## ( This is just for an example)
    if [ -f /oracle/audit/SID_SYS.log ]
    then
    mv /oracle/audit/SYS.log /oracle/audit/SYS.log.$time
    fiEdit the glogin.sql file with this script information like this
    host /oracle/audit/file.kshHope this helps, if you need more information let me know.

  • Reseting KM List Layout Profile for another user

    Hello,
    how can an administration reset layout profile personalization settings for another user.
    Some users in our system have done the following:
    KM Resource->Details->Settings->Presentation->Tab:Settings for You->Change Layout Profile
    This creates some problems with our custom layout which is not used because of the user's personalization settings.

    Hi,
    Look at this:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d3/85503e30a9d549e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/d3/85503e30a9d549e10000000a114084/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/eb/4bc041f123c817e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/eb/4bc041f123c817e10000000a155106/frameset.htm</a>
    If you want you can remove the service permissions for Layout from the users, So it won't happen again.

  • How to create a shortcut for all users in Win 7 and Win 8?

    Hi,
    I'll trying to make a script that will create a shortcut in every user profile account in a computer. I stumble upon the script below from
    http://gallery.technet.microsoft.com/scriptcenter/Create-shortcut-in-your-11cfd3de/view/Discussions#content.
    Option Explicit
    On Error Resume Next
    Dim objShell
    Dim objDesktop
    Dim  objLink
    Dim strAppPath
    Dim strWorkDir
    Dim strIconPath
    strWorkDir ="C:\Program Files\Microsoft Office\Office15"
    strAppPath = "C:\Program Files\Microsoft Office\Office15\ORGCHART.EXE"  'you have to use your URL to Interanet site or path to specific program
    'strIconPath = "\\server\Xyz.ico"     'specify the path to the icon please change to your valid path
    Set objShell = CreateObject("WScript.Shell")
    'objDesktop = objShell.SpecialFolders("Desktop")
    Set objLink = objShell.CreateShortcut("C:\Users\%userprofile%\Desktop\Org_chart_test.lnk") 'change here To your shortcut name
    objLink.Description = "this is a test" 'replaec with your description
    'objLink.IconLocation = strIconPath
    objLink.TargetPath = strAppPath
    objLink.WindowStyle = 3
    objLink.WorkingDirectory = strWorkDir
    objLink.Save
    I did some modifications to cater to my need. Now the question is, how can I make the script create a shortcut for every user profile from the script above?
    Any inputs would be greatly appreciated.
    Thanks!

    You could create the shortcut at one machine, then copy it to the target as part of the logon script. Note also that this line contains an error:
    "C:\Users\%userprofile%\Desktop\Org_chart_test.lnk"
    It should read:
    "%userprofile%\Desktop\Org_chart_test.lnk"

  • Creating portal desktop for the user

    Hi All-
    Please help me out...
    1) Could you let me know the detailed procedure ( if possible please provide screen shots) to create "Portal Desktop for the user".
    2)Suppose we developed a webDynpro Application and we need to make it Role Based access....please let me how to achieve this..
    3)Help me out in creation of "Roles" in Portal Content Development and the steps to assign pages to "Roles"
    Regards,
    Cris

    Hi Cris,
    Follow these links for the required info.
    Creating Portal Desktop for specific user
    Portal Branding for specific user
    Creating Roles & worksets
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/bceaffeb8c114ebef8255b63079c7c/frameset.htm
    Integrating webdynpro in portal
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2fffe990-0201-0010-aab0-e61c3250bcf3
    Hope I am helpful.
    Cheers,
    Santhosh

  • I ordered Illustrator for another user.  I received an invitation that was accepted, logged in and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person?

    I ordered Illustrator via creative cloud for another user.  I received an invitation that was accepted  and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person? 

    Cloud as a Gift https://forums.adobe.com/thread/1665610

  • Privilege to allow a user to create a view in another user's schema

    Hello,
    I need to allow a user to create a view in another user's schema.
    Say, to connect as USER_A and run statement: 'create view USER_B_SCHEMA.myview as select...'
    Is there any way to accomplish that without granting USER_A privilege to CREATE ANY VIEW? I want to keep USER_A at the lowest profile possible.
    Thanks!

    You have the option to create an stored procedure, here a test case (no optimized, no bug free):
    SYS@orcl > create user sp_owner identified by sp_owner;
    SYS@orcl > grant create any view to sp_owner;
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    SYS@orcl > create user test identified by test;
    SYS@orcl > grant create session to test;
    SYS@orcl > grant execute on sp_owner.create_view to test;
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • How to create delivery device for all users ?

    hi
    help needed ...
    i activated delivery tool
    but i dont know how to create email devices for all users
    is there any api / manual action
    obiee version : Oracle Business Intelligence 10.1.3.4.1
    thanks
    yuval

    Yuval..u need to setup SA System in RPD..
    refer http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/

  • Install Lync Web App Plugin For Another User

    I'm wondering if there is a way to install the plugin for the Lync Web App for another user. The reason why is that administrative permissions are required and our users are not allowed to have those permissions. I have the MSI but when I look at it, it
    says
    "Cannot install [ProductName].Setting the AllUsers property is not allowed because [ProductName] is a per-user application."
    Is there a way that I can install the MSI, maybe through the command line or another method, and specify another user so it installs to their profile?
    Thanks!

    Hi,
    This is typically achieved by allowing exceptions in your software control strategy for the required executable;
    LWAPlugin.exe
    LWAVersionPlugin.exe
    AppSharingHookController.exe
    AppSharingHookController64.exe
    This typically occurs in VDI deployments where users are not able to install software onremote server, so the above rule is added to the Software Restriction Policy (providing that's what you're using to control application installation).
    I'm not familiar with any associated cmd line switches I'm afraid.
    Kind regards
    Ben
    Blog:www.gecko-studio.co.uk/ 
    Twitter:
      LinkedIn:
      Facebook:
    Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems
    or queries.

  • Office365- I created shared mailboxes for a user- they show on web but not on Outlook2013

    I created shared mailboxes for a user- they show on web but not on Outlook2013-
    If the user logs on to office365 web - I can see the 3 shared folders- but if when she opens Outlook she is not able to see them-
    Do they - should they be manually added ? How ?
    Thanks !!

    Hi,
    Thanks for your question.
    Not sure what exactly you mean by "created shared mailboxes for a user", by default, Outlook automatically loads all mailboxes to which the user has "Full Access" permission. So please first check if you have granted the right permissions
    for that mailbox to the user.
    When I say "By default", I mean you didn't disable the Outlook Auto-Mapping service. If you did, then the shared mailbox will not be automatically added to the user's Outlook profile. So please have a check on this:
    https://support.microsoft.com/kb/2646504
    Also, please note if the shared mailbox was just created, or the user was just added as a member of that shared mailbox, you probably will need to wait for a few hours for the shared mailbox to appear in the user's Outlook folder.
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Create new mailbox for existing users?

    Hi All,
    I am new to JNDI concepts. I need to create new mailbox for existing users in domino directory. is it possible?
    Scenario is : I have some users in domino directory. They dont have mail account now. I want to create it.
    Kindly guide me...
    Thanks,
    Ram

    Hi,
    You can try LSMW (Direct method) for uploading class values.
    Upload file can hae following structure:
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    Release Grou+Release strategy |     Characteristic name     |     Class type     |     Class Value
    e.g. rel grp is PO, rel strategy is 01, characteristic name is EBAN_EKORG, and class value is 1000 then
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    multiple characterstics can be
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    PO01     |     EBAN_EKGRP |     032     |     100
    Regards,
    Yogesh

  • Creating an shortcut for all users on the desktop

    I want to create a shortcut for all users on the desktop that will appear for all users that login to the computer.  How is this done in Windows 7?  In Widows XP this was done at the "All Users" profile, but I cannot find such a profile  in Windows 7. 

    the users have windows vista , 7 or 8 have a chortcut i created and the users have windows xp isn't created on them desktop
    Do you have a question? If so then your best bet is to create a new post (this one is 5 years old and marked as "answered"!) and spell it out there.

  • Creating a materialized view for another user

    I don't seem to find the correct setup for this....
    With the user "dummy"
    CREATE MATERIALIZED VIEW dummy.thetable BUILD IMMEDIATE REFRESH FORCE ON DEMAND AS select * from real.thetable;
    And the materialized view is created ok.
    With a DBA user:
    CREATE MATERIALIZED VIEW dummy.thetable BUILD IMMEDIATE REFRESH FORCE ON DEMAND AS select * from real.thetable;
    ORA-01031: insufficient privileges
    I don't want to be switching back and forth from the user to create materialized views, am I missing a permission here? DBA of course has create any materialized view

    From the SQL Reference Guide:
    To create a materialized view in another user&#8217;s schema:
    - You must have the CREATE ANY MATERIALIZED VIEW system privilege.
    - The owner of the materialized view must have the CREATE TABLE system privilege. The owner must also have access to any master tables of the materialized view that the schema owner does not own (for example, if the master tables are on a remote database), and to any materialized view logs defined on those master tables, either through a SELECT object privilege on each of the tables or through the SELECT ANY TABLE system privilege.
    I suspect that, if you first GRANT CREATE TABLE TO DUMMY, you will be able to create the MV.

Maybe you are looking for

  • Deploying Adobe Acrobat X Professional over Standard

    A while back I deployed a customized installation of Adobe Acrobat X Standard. I used the Adobe Customization Wizard X to generate a MST file that omits things like speed launch and arm and disables some features in the help menu (like updates, repai

  • Steps for Revaluation of Fixed Assets?

    Hi Friends, Can anybody done Revaluation of Fixed assets for portugal country? If yes could you explain the steps to be configure. Anil

  • Skillbuilders_super_lov plugin with Modal region template

    Hi , I am using Report and form (IR) , i called form when i press in create button by this code javascript:openModal('region id')and make the form region as modal region template , in the form i use skillbuilders_super_lov plugin . when i open the LO

  • Finder Keeps Crashing in OSX 10.9

    Hi- My Finder recently started a new habit of crashing in 10.9. The only way I've worked around it, is to turn the network connections off, restart in safe boot and trash com.apple.apsd.plist, com.apple.MCX.plist, NetworkInterfaces.plist, com.apple.s

  • How can I speak to an Adobe Rep?

    I sighed up for photo shop cc two weeks and I have not been able to sign on to the date.  The only thing I get is the Application Manager, which allows me to update by nothing further. I need HELPPPPPPPPPP!