find roles that grant privileges to the same owner
I did an impdo and I saw on a lot of these types of errors:
ORA-39083: Type than object_grant cannot be created with the object error:
ORA-01749: you cannot GRANT/REVOKE privileges to yourself
Because sql is:
GRANT SELECT ON "SMART." "" SOURCE_SYSTEM_DIMENSION "TO"SMART ".
Smart notice to smart... Can someone give me a SQL that will allow me to generate a file that I can run to eliminate these types of cases.
Notte is should show the operatation in this "select" cases where it has failed.
Thank you all
It looks like a privileged granted user privileges on the tables of smart chip, which is absurd, but legal.
SQL > create an identified by a tablespace default user user
2 unlimited quota on users;
Created by the user.
SQL > grant create table, create a session to one.
Grant succeeded.
SQL > conn a/a.
Connected.
SQL > create table t (ID, descr varchar2 (10));
Table created.
SQL > conn /.
Connected.
SQL > grant select on Abdel to one.
Grant succeeded.
dev1 > select table_name, privilege, constituent, dealer
2 of dba_tab_privs
3 where dealer = "A";
DEALER PRIVILEGE TABLE_NAME GRANTOR
------- ------- --------- ----------
A A T SELECT
dev1 > revoke select on a.t a;
Revoke succeeded.
dev1 > conn a/a.
Connected.
dev1 > grant select on t for one;
Grant select on t for a
*
ERROR on line 1:
ORA-01749: you cannot GRANT/REVOKE privileges to yourself
To reverse the invalid grant, you can use something like this to generate a script:
Select "revoke". privilege: ' on ' | conceding |'. ' ||
table_name |' a ' | dealer | « ; »
of dba_tab_privs
where dealer = constituting;
Or you can use a similar query in an anonymous block, immediate use of execute to execute the revoke command. The user will have full privileges on the objects that they own.
John
Tags: Database
Similar Questions
-
Hi, I recently "lost" my MacBook Pro because of water damage. Fortunately, I've been using time Machine\Capsule and I have a MacBook Pro that is connected to the same network/device. I need to restore a few files in the backup TM of the computer 'lost' on computer 'work '. I was able to 'Browse' the other TM backup (click the icon TM plus the button 'Alt'). The Web browsing is extremely slow (took about an hour to break down / find the file on the network). However, I tried to copy the file and I get errors of the alias. Please advise me on what I am doing wrong.
Thank you
ggnpeter
PS My OS is 10.9.5
Visit Time Machine FAQ of Pondini helps with Time Machine.
-
I have a HP G62-355DX dead, I think the hard drive is ok, so I want to buy a new laptop HP to change the hard drive, so I can recover my data and OS environment.
Could someone please recommend some course HP laptop model that can be used the same hard drive as G62-355DX use?
Even the hard drive can not put it in the bag laptop, but work with the HARD drive interface.
Or is there any external HARD disk enclosure can be used to read the data hard disk, the data does not have compreesed.
Thank you in advance.
Hello! You need a new PC Yep!
But there are other ways to doYou can buy a SATA USB adapter that will allow you to plug in the HARD drive on another PC and the take-off data
NOW YOU CAN ONLY SAVE DATA FROM THE DISK IF THE HARD DRIVE IS NOT DEAD
Good luck!
Best regards: 1029rjmenvy17t
Please "KUDO" if you like for thumbs to the top and "Accept as Solution" if this fixed your problem
To help others find it and helps solve them the same or similar problems
-
How can I create a cluster of two instances that are running on the same server?
Hello
I can't find how to create a cluster or even a rule of failover for my two instances that are running on the same server ODSEE 11 GR 1 material.
Could you please help?
Thank youHello
Clustering (intended as Sun Cluster, Veritas Cluster, etc...) IS NOT supported since 7.0:http://docs.Oracle.com/CD/E20295_01/PDF/821-1216.PDF [page 20]
and, according to my own experience, is the WORST way to achieve high availability of Service LDAP directory and in a way almost CONCEDED for replication problems in your topology (lock, split, re-init, etc...).
Please use the "application level" collection that you get out of the box with the multimaster replication.
http://docs.Oracle.com/CD/E20295_01/HTML/821-1217/index.html
http://docs.Oracle.com/CD/E20295_01/HTML/821-1220/fhkry.html#scrolltoc
HTH,
Marco -
Photoshop CS4 - is - does anyone know how to find out if two people use the same file?
Photoshop CS4 - is - does anyone know how to find out if two people use the same file?
Yes, I assumed that was the case, and I thought that this link addressed to her. I would have thought it was more a function of your network and the OS than Photoshop.
-
was informed someone else that my IP address whay I can do
It also comes on my screen that someone other than the same IP address as me, what should I do to change
Hi marionnaismith,
I suggest watching this thread, because it is similar to what you feel:Also, here is an article from Microsoft that provides much more detail on this issue, if necessary: -
A box is constantly on my computer screen saying that another computer has the same IP as mine and I need to contact windows for help. What this means please.
Thank you Michelle.
The error means exactly what it says: there is another PC on your LAN that has the same IP as the PC you are using. If you're in a work environment, speak to your personal network.
-
Folder Windows Mail system replaces the text by e-mail
In Windows Mail when I drop an email into a subfolder change all emails in that folder to be the same as the first? How can I stop this please? It of weird and happens most of the time but not all the time, I read the email in the Inbox, drag it to the subfolder and when I open it in the subfolder is a completely different email and then when I check the rest in the subfolder they are all the same as the first on in the folder. ?Search for antivirus interference. This is what it sounds like. See www.oehelp.com/OETips.aspx#3
Also try to compact and repair the database (www.oehelp.com/WMUtil/).
See if help them.
Steve
-
Original title: Windows Movie Maker
In windows movie maker, how can I change my clips so that they all have the same duration after that I added the?
Hi Ashley44,
You can use the trim function in Windows Movie Maker to change the duration of the film. See the link below for the steps
If you want more advanced features, you can use Windows Live Movie Maker
http://explore.live.com/Windows-Live-Movie-Maker-stunning-in-seconds?OS=other
-
Dependent Service in UCSM material of blade profiles?
Is that we can assign the same service to a B200M2 profile, B230 M2 and a blade of B200M3?
An example: if my B200 M2 goes down because of a hardware failure, I replaced the same slot with a B200 M3 Blade.Then is possible that I have separate Service of B200M2 profile and associate the same Service profile with B200M3?
Hi Deepak,
It is certainly possible.
If there is no problem, because of incompatibilities, it triggers a failed configuration error, the service profile is related to the new blade.
I hope this helps.
Thank you
Michael
-
Unable to connect to my office that is connected to the same homegroup.
Original title:
access to my files on my desktop that is connected to my homegroup problem
I am unable to connect to my office that is connected to the same homegroup. When I try to access the shared folder my office requested username and password that I had disabled protected by word sharing wat I do? I had tried my group residential password and my name as user but still cannot connect... Thanks for giving me a solution to this problem.
Hello
1 did you changes to the computer before the show?
2. What are the operating systems connected to the homegroup? Is this the same version of Windows?3. what anti-virus software is installed on the computer?
Check if the homegroup settings is correct:
Homegroup from start to finish
http://Windows.Microsoft.com/is-is/Windows7/help/HomeGroup-from-start-to-finishMethod 1:
Try the troubleshooter from the following link and check if it makes a difference:
Open the homegroup troubleshooting utility
http://Windows.Microsoft.com/en-us/Windows7/open-the-HomeGroup-TroubleshooterMethod 2:
You can try the steps from the following link and check if it helps:
Why I can't join a homegroup?
http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-join-a-HomeGroupI hope this helps!
-
How to create an action link that goes to a section that is 'hidden' in the same page
Hello
OBIEE 11, I have a dashboard page that has section 1 as a guest, 2 which shows an analysis that contains a chart and article 3 that shows the details of the graph. I have an action to link this graphic article 2 connection to the details in section 3. However, I would like my report to the do not appear in article 3 as long as you press the link of action. Is there a way to 'Hide section 3 until you press the link action?' Thank you!
Hello
Try to avoid the double-display: How to create an action link that goes to a section that is 'hidden' in the same page
Felipe_Idalgo meets the other post (and he posted the best answer to your needs), in order to continue the other thread instead of opening another.
-
If you install and activate your Lightroom on a single computer, and dies from this computer, is it possible that you can use the same serial number on another computer?
With most of their applications, you can disable it on a single computer, and then turn on another. I'm not 100% sure of Lightroom, however.
-
If I buy a monthly subscription can I load the application on multiple computers that I have on the same e-mail ID?
Hi rlp54163129,
Acrobat can be installed on both systems, however it will be enabled only on a system at a time.
In order to install & activate multiple system you need to subscribe to it for the entire system, or you can go for volume license.
Kind regards
Nicos
-
Hello
I'm looking to try to manage the security of some object on the Oracle DB 12 c, and I came to the objects of the index.
After watching the magical view: V$ OBJECT_PRIVILEGE, I came across the EXECUTE privilege on the index:
Select * from v$ object_privilege where object_type_name = 'INDEX ';
However, after the creation of some index of test, I could not be able to set this privilege on roles and actors, get this error all the time:
SQL error: ORA-04042: procedure, function, package, or package body does not exist
04042 00000 - "procedure, function, package, or package body there is no.
* Cause: Trying to access a procedure, function, package, or package body
It does not exist.
* Action: Make sure that the name is correct.
I'm sure that the name is correct in the index. So, this privilege makes no sense? What is his purpose on this point of view?
Kind regards
David
documentation: https://docs.oracle.com/database/121/DBSEG/authorization.htm#DBSEG99910
On the privileges of the object
A privilege object grants permission to perform a specific action on a specific schema object.
There are privileges different object for different types of schema objects. The privilege to delete rows in the
departments
table is an example of a privilege of the object.Some schema objects, such as clusters, indexes, triggers and database links, do not associate the object privileges. Their use is controlled with access privileges. For example, to change a cluster, a user must own the cluster or have the
ALTER
ANY
CLUSTER
system privilege.On the view v$ object_privilege.
Select * from v$ object_privilege
where object_type_name = 'INDEX ';
OBJECT_TYPE_NAME OBJECT_TYPE_ID PRIVILEGE_ID PRIVILEGE_NAME
32 12 INDEX RUN
The interesting thing here is the ID of the object type.
The object type 1 is an index.
Object type 32 is put in correspondence with an INDEX_TYPE. This privilege is the privilege to execute for a type of index.
Select object_type_name
the system. REPCAT$ _OBJECT_TYPES
where object_type_id = 32;
OBJECT_TYPE_NAME
INDEX TYPE
Maybe you are looking for
-
Forgotten password boot for my Satellite Z930
I forgot my password for my z930. I bought the laptop of a market, it was working fine, then I put a password on it. And now I forgot the password. I heard there is a response code I can get, there's a shift tab thing I did that let me enter a respon
-
Skype disconnects with server every 3-10 minutes, this takes place on a few PCs and events with different profiles - how do I solve this problem?
-
Windows Server 2003 in a Windows 2008 file server environment
Dear all, I would like to install windows 2003 server as a file server in Windows 2008 R2 domain. I have windows 2012 standard R2 in the additional DC form. Please advice me good measures implement the file server in our network. Tony E-mail address
-
display problems mode R3 - 131 "centered" laptop computer T - display small
R3 - 131T use mainly the laptop mode. After using the mode Tablet, poster now focus on "" on screen, smaller side panels, black. How to return to the view "full screen"?
-
Could not find the problem with the sound and speakers
Hi, I have a Pavilion dv7 with windows 7 and there is the sound of the computer, commissioning, but if I try to watch a video or listen to music online there is no sound. Also if I open Itunes, and I press play on a song of the song does not play. I