Permission query.
I went to replace a utility that needed to be updated (the printer repair utility) but when I dropped it into the app folder it wouldn't let me replace it because I didn't have permission. It did not ask for authentication!
I know I could change the permission of the single app trash it then drop the new app in. But I wanted to sort this problem out once and for all.
The permissions on the repair utility were owner: unknown Group: Admin.
Some other apps like photoshop are owner: System Group: admin.
I changed the permissions on the Application folder to owner: System Group: Admin But when I checked 'apply to enclosed items' it said I didn't have permission even though I'm an admin user.
So I have two questions.
One. Can I use terminal (read: what is the full terminal command) to force all the permissions and ownership in the app folder to be Owner: me, Group: Admin then do a repair permissions to change all the system apps back to Owner: system.
Two. Is there any problem if all the my own installed apps in the app folder are set to Owner: system Group Admin.
I'm the only user of the computer.
emac Mac OS X (10.4.6)
What does 'DU' mean.
My plan was to make all the permissions in the app folder to be 777 and the owner to be user and the group to be admin, then I was going to do a repair permissions to return all the System apps back to their normal permissions thus leaving all my own apps with me as the owner.
I could do all this by hand one app at a time but there are 124 to go through. I was hoping there was a terminal command to do this.
The reason the permissions are screwed is that this computer was once mine but it is now my wifes and she is the sole admin. I'm just wanting to make all the permissions to be what they would have been if she was the original owner and installed all the extra apps herself.
Similar Messages
-
Burned CD missing Content & Permission Query
Not a techie, so please guide me to help you help me! (Unfortunately, a long-term Windows user, too)
Tried first effort to place files on CD-RW. Used disk utility to do multisessions burn (assuming this meant I could alter/save on cd afterward). Burn noted to be successful but no content showed on it. Pages document changed to a dimmed .dmg file in Pages directory, so no access to original. Clicked on the .dmg and the volume (in disk utility) for it with no content under either. Seems there is 18.1MB used up per info pane?
Desperately need help - document is extremely important and not duplicative!
On another burn note: I did simply burn a test Page document using finder and a new blank CD-RW. Document saved on it, but I cannot change and save it from/to the disc? Info shows I have read/write permission, but then says I don't when I try to change/save it. What am I missing here?
Thanks in advance for guiding this ridiculously lost newbie!Scott,
One last try; I made an effort to replicate my problem. Here goes:
I had the "Recording on a recordable CD more than once" and "Creating a blank disk image" instructions. Could not make out how to do steps 1 on either document, so I improvised (stupid mistake):
Inserted Verbatim 2x-4x CD-RW 700MB blank CD
Chose "Open Disk Utility"
Selected "MATSHITADVD-R UJ-846" in sidebar
Clicked "New Image"
Saved As: "Test" (Pages test doc created) under folder "Authorship"/Size:660MB(CD-ROM 80min)/Ecrypted: AES-128(recommended)/Format: Read/Write Disk Image
Clicked "Create"
Entered password and Unchecked "remember password in keychain"
Clicked "OK"
"Test.dmg" in sidebar with volume underneath it indicating: 3 folders/2files/ 647.4MB capacity/629.3MB available/18.1MB used
Selected "Test.dmg" in sidebar and clicked "Burn"
Burn Disc In: MATSHITADVD-R UJ-846 popup showed and chose "leave disc appendable" then clicked "burn"
"Burning Image disk2" in progress reader showing: Disk Descr: Apple read/write media/Conn. Bus: Disk Image/Tot.Cap: 647.5MB/Disk Write Status: Read/Write/Disk Image Path: /Macintosh HD/Users/myname/Documents/Authorship/Test.dmg
'Image "disk2" burned successfully' shown with CD icon titled Test on desktop along with volume icon (?) for same
This time ejected and reinserted CD after burn/verification (thought I did it sooner last time but could not eject it sooner it seems) - did this due to instructions saying to insert it after all these steps, not at start.
Clicked "Burn" (per instructions): (.dmg in sidebar still highlighted) CD ejected with message "Unable to burn 'disk2' - The device failed to respond properly, unable to recover or retry..."
This was when I rechecked everything first and this time by looking at info tabs:
Test.dmg: same as listed before
Volume icon under .dmg:
Mount Point: /Volumes/Test
Format: Mac OS Extended (Journaled)
Owners Enabled: No (thought this was Yes first time??)
Number of Folders: 3
Capacity: 647.3MB
Available: 629.3MB
Used: 18.1MB
Number of Folders: 2
Then closed Disk Utility to check burned CD:
(first time one icon for CD mounted on desktop - this time 2 did?? Maybe I cancelled the "Burn" after reinserting the CD the first time?)
No content showing in finder with it in sidebar under iDisk/Network/Macintosh HD
Then opened Pages to look for original: last time the original was gone with only the faded .dmg in directory. Of course, this time I had both the original still AND the faded .dmg of it. So who knows what was different then vs now.
It makes it seem like I somehow trashed the original, but I am not that untechie! I even wondered this the first time and downloaded the demo of Boomerang to see if I could find the original that way (as it said you could see the files available if the program was purchased, and it wasn't there, yet another .dmg file was there?)
Please tell me this clears up the issue somehow... :\
Waterhythms
Message was edited by: Waterhythms
Message was edited by: Waterhythms -
Access permission query - need help
Hi ,
I want to produce the following scenario:-
1. I created a new portal user called neerajs/pass123.
2. Created a new page group.
3. Created a new page into the page group created in step 2.
4. created a new tab inside the page created in step 3.
5. added a portlet into the tab created in step 4.
Now i want that when user neerajs will log in he must see only the portlet added in step 5.
The user neerajs will find only the links Home,Help and Logout.
I have done the following:
1. Grant access to user neerajs for the page group created in step 2.
2. default page group for user neerajs is set to the one created in step2.
Could any one suggest some way to do this or suggest the documentation which i can refer.
Thnx
<Neeraj Sidhaye/>Hi ,
Thanks for you reply.
I will try this out and will let you know the results.
Are you talking about "setting default home page" for the user ,in your last line of reply ?
I think , this is the case when user clicks on Home link then this default page will be rendered. Am i right ?
Is there any docs which can tell all about the Access Privileges and also tells about how to play with Role Based Security in Oracle Portal Server ?
Thanks Again
<Neeraj Sidhaye/>
Try_Catch_Finally AT YAHOO DOT COM
http://ExtremePortal.blog.co.uk -
ISCSI Initiator Session Logout
On GREPI02 (W2K3 SP2 x86, iSCSI Initiator 2.08) I can't logout the iSCSI Initiator session on the "Targets" tab and then "Details" button as I get the following error:
The session cannot be logged out since a device on that session is currently being used.
When I attempt this session logout I also get the following System event entries:
Event Type: Information
Event Source: MSiSCSI
Event Category: None
Event ID: 116
Date: 5/8/2010
Time: 9:34:56 AM
User: N/A
Computer: GREPI02
Description:
Removal of device MPIO\DISK&VEN_IET&PROD_VIRTUAL-DISK&REV_0___\1&7F6AC24&1&343934353534303030303030303030313030303334423332303130_________0 on iSCSI session ffffffff8a0762ec-400001370000001a was vetoed by STORAGE\Volume\1&30a96598&0&Signature2E8F7689Offset7E00Length9FFABCC00.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 06 00 00 00 ....
Event Type: Information
Event Source: PlugPlayManager
Event Category: None
Event ID: 271
Date: 5/8/2010
Time: 9:34:56 AM
User: N/A
Computer: GREPI02
Description:
The Plug and Play operation cannot be completed because a device driver is preventing the device from stopping. The name of the device driver is listed as the vetoing service name below.
Vetoed device: MPIO\DISK&VEN_IET&PROD_VIRTUAL-DISK&REV_0___\1&7F6AC24&1&343934353534303030303030303030313030303334423332303130_________0
Vetoing device: STORAGE\Volume\1&30a96598&0&Signature2E8F7689Offset7E00Length9FFABCC00
Vetoing service name: FileSystem\Ntfs
Veto type 6: PNP_VetoDevice
When Windows attempts to install, upgrade, remove, or reconfigure a device, it queries the driver responsible for that device to confirm that the operation can be performed. If any of these drivers denies permission (query-removal veto), then the computer must
be restarted in order to complete the operation.
User Action
Restart your computer.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
I can do this same logout from another W2K3 SP2 virtual machine and it works fine so appears to be something specific to this GREPI02 node.JoeHi,
From the Event log, we can find " FileSystem\Ntfs" is trying to prevent your logout. To find out which file was opened, please try this tool:
Handle
http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
Run "handle.exe path-of-iscsi-drive >>handle.txt" and post the result here.
Thanks.
This posting is provided "AS IS" with no warranties, and confers no rights. -
Does anyone know if there's a way to query for group (or any other object) based on the current user's permission? For instance, if I wanted to retrieve all of the groups to which the current user has read access?
If not, is there a way to retrieve the current user's access level for each object in the query? So for instance, in addition to returning the group name and group id, also return the user's level of access.
Thanks a lot!Read the documentation:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001252.htm
page1.html
<form id="form1" name="form1" method="post"
action="page2.cfm">
<label>enter id <input type="text" name="textfield"
/>
</label>
</form>
page2.cfm
<cfquery name="foo" datasource="bar">
SELECT aField, bField, cField
FROM aTable
WHERE aField = <cfqueryParam value="#form.textfield#"
cfsqltype="cf_sql_varchar">
</cfquery>
<cfoutput query="foo">
#aField# #bField# #cField#
</cfoutput>
briankind wrote:
> query based on a test input box
>
> hi
> i have this html input box and i want to output a query
based on what i put in
> the input box. what should i do now.
>
> thanks
>
>
> <form id="form1" name="form1" method="post"
action="">
> <label>enter id <input type="text"
name="textfield" />
> </label>
> </form>
> -
SQL Query for Project Permission in Project Server 2010
HI
I have assign multiple users on multiple projects with different level permission,
The permission level is assign from Project Permission (icon ribbon in PWA 2010.)
(1.Open the project within Project Professional or Project Web App,
2.Edit and Save
the project within Project Professional or Project Web App
3.Edit Project
Summary Fields within Project Professional or Project Web App
4.Publish the
project within Project Professional or Project Web App
5.View the Project
Summary in the Project Center
6.View the Project
Schedule Details in Project Web App.
7.View the Project
Site)
Is there any SQL Query to find which user/resource is assign to which projects and what above permission is assign.
Thanks
Farhan
farhanHi Farhan,
Please find the SQL below below which will give project permission users:
select RES_SECURITY_GUID from ProjectServer_Published.dbo.MSP_RESOURCES where RES_UID = '37A56C30-34DE-417B-95A8-42FBA6F47565'
select PROJ_NAME from ProjectServer_Published.dbo.MSP_PROJECTS where PROJ_UID in (
select distinct c.PROJ_UID from ProjectServer_Published.dbo.MSP_WEB_SECURITY_PROJECT_CATEGORIES c
INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_SP_CAT_RELATIONS pcr on pcr.WSEC_CAT_UID = c.WSEC_CAT_UID
INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_SP_CAT_PERMISSIONS pcp on pcp.WSEC_REL_UID = pcr.WSEC_REL_UID
INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_GROUP_MEMBERS gm on gm.WSEC_GRP_GUID = pcr.WSEC_SP_GUID
INNER JOIN ProjectServer_Published.dbo.MSP_WEB_SECURITY_FEATURES_ACTIONS AS SFA ON SFA.WSEC_FEA_ACT_UID = pcp.WSEC_FEA_ACT_UID
INNER JOIN ProjectServer_Published.dbo.MSP_WEB_CONVERSIONS AS CONV ON CONV.CONV_VALUE = SFA.WSEC_FEA_ACT_NAME_ID where (1=1)
And (CONV.LANG_ID = 1033) and gm.WRES_GUID = '2F5512D4-F561-43AF-AB7B-A189B0B9B6E8') -- Replace with above returned RES_SECURITY_GUID
Vivek -
List of Project Permission in PS 2010 Using SQL query
Hi
Is there any way to get a list of Project permissions associated with user using sql query. If i go manually Project center --> select project plan --> project permission it would take lot of time to find out for each user
Regards
SantoshBefore you continue (which you probably will overlook) - please understand that you should only be querying the REPORTING database and not the published database. A recommendation is to use a select statement statement to insert the tables into a table
int the reporting database, then query that table for your results/report.
The following page I believe has what you're looking for (Users with direct permissions- query below)
and more
http://pmpspecialists.com/Blog/2013/10/
SELECT MSP_RESOURCES.RES_NAME AS Resourcename, CONV.CONV_STRING AS Permission, MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_DENY AS Denied,
MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_ALLOW AS Allowed
FROM MSP_WEB_SECURITY_SP_CAT_PERMISSIONS INNER JOIN
MSP_WEB_SECURITY_SP_CAT_RELATIONS ON
MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_REL_UID = MSP_WEB_SECURITY_SP_CAT_RELATIONS.WSEC_REL_UID INNER JOIN
MSP_WEB_SECURITY_FEATURES_ACTIONS ON
MSP_WEB_SECURITY_FEATURES_ACTIONS.WSEC_FEA_ACT_UID = MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_FEA_ACT_UID INNER JOIN
MSP_WEB_CONVERSIONS AS CONV ON CONV.CONV_VALUE = MSP_WEB_SECURITY_FEATURES_ACTIONS.WSEC_FEA_ACT_NAME_ID INNER JOIN
MSP_RESOURCES ON MSP_WEB_SECURITY_SP_CAT_RELATIONS.WSEC_SP_GUID = MSP_RESOURCES.RES_SECURITY_GUID
WHERE (CONV.LANG_ID = 1033)
ORDER BY Resourcename, Permission -
[nQSError: 13049] User 'BISYSTEMUSER' with 'empty' permission can not query
Hi,
On my local OBIEE 11.1.1.5 Windows 64 bit, I get [nQSError: 13049] error all the time. I understand this must be my configuration is wrong somehow, but comparing with correct installations I can't find a clue, and can't find anything from google either.
Could you please suggest what can be wrong? How to add permissions?
- log in to obiee as weblogic/welcome1
- Administration -> Manage Privileges
- get: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 13049] User 'BISYSTEMUSER' with 'empty' permission can not query user population.Please have your System Administrator look at the log for more details on this error. (HY000)
I have
- console: myrealm->Users->weblogic and BISystemUser, both in Administrators, BIAdministrators groups
- em: bifoundation_domain->Security->Credentials, system.user=BISystemUser
Thanks,
WeiTry doing the following things:
1) Make sure the user ID you are using as BISystemUser in EM is linked to the BISystemuser role
2) Add the weblogic user ID to Bi administrator role. ( Do the association in EM ).
This should solve your problem.
Thanks,
-Amith. -
Environment: SQL Server 2008 R2
Code:
CREATE TABLE dbo.PkgAudit
PkgAuditID INT IDENTITY(1, 1),
PackageName VARCHAR(100),
LoadTime DATETIME ,
NumberofRecords VARCHAR(50),
Status1 VARCHAR(50),
Status2 VARCHAR(50),
The following code is inserted in the SQL Task Execute Editor
INSERT INTO dbo.PkgAudit(PackageName
,LoadTime
,NumberofRecords
,Status1
,Status2
) VALUES(?,?,?,?,?)
Screen Shot (Parameter Mapping):
Problem: an error Message occurred when I hit Parse Query Button in the Execute SQL Task Editor, "Execute SQL: Task Editor: The query failed to parse. Syntax error, permission violation, or other nonspecific error". How I could Solve this
problemDifferent connection providers require different Parameter syntax. E.g. ADO @ParameterName notatoin, not just an offset of 0,1 etc.
Arthur My Blog -
Query to Check DatabaseMailUserRole Permission To A Login
Hi Friends,
Is there any query to find to find weather the login has already granted DatabaseMailUserRole permission ?
Example, I am adding a user to msdb and need to grant the DatabaseMailUserRole permission but before granting need to verify weather it has already granted.
Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/Hi
Try these
use msdb
go
sp_helprolemember 'DatabaseMailUserRole'
You can also use is_rolemember -
Use IS_ROLEMEMBER to determine whether the current user can perform an action that requires the database role's permissions.
http://msdn.microsoft.com/en-us/library/ee677633.aspx
Another query
select DRP.role_principal_id , DPP.name as ParentRoleName,DRP.member_principal_id , member.name as MemberRoleName
from sys.database_role_members DRP
inner join sys.database_principals DPP
ON DRP.role_principal_id = DPP.principal_id
inner join ( select DP.name,DRM.member_principal_id from
sys.database_principals DP inner join sys.database_role_members DRM
ON DRM.member_principal_id = DP.principal_id
) member
on DRP.member_principal_id =member.member_principal_id
where DPP.type ='R'
and DRP.role_principal_id = (select principal_id from sys.database_principals where name = 'DatabaseMailUserRole')
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
Sql query to grant TRUNCATE permission to a table
Need help to write sql query to grant TRUNCATE permission to a table
sujnan wrote:
Need help to write sql query to grant TRUNCATE permission to a tableThis would require DROP ANY TABLE privilege.
However, this is a rather powerful privilege and should not be granted to non admin users.
Alternatively you can create a stored procedure in table owner's schema which would truncate specified table.
Grant execute rights on this SP only to required users.
See an example below:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1458414958491
You could(rather should) put in more validations in this SP to prevent users from truncating tables that they are not supposed to. -
Restrict permission to write Update query in query generator
Hai,
I would like to restrict the users from using the update command in the query generator, as SAP B1 allows professional users to update database using SQL commands like Update,Delete,Insert.
so how can i prevent the users from using the above commands except the "select" command.kindly help me.
By
Prasanna.sPrasanna,
The only thing you could do is prevent the users from using the Query Generator. It would not be possible to just restrict Update and allow select.
It is either everything or nothing.
If the users are professional users then there should be some rules in the company. If someone wants to Vandalise they can do it anyways.
Suda -
Managing ldap user querying permission at BI server level
Hello Guys
I am trying to manage the corporate resource by limiting certain users to run query at certain time or certain size. I know it can be done using 'manage--security' to set the querying limit for each users that are defined in the Admin tool..
However, since we are using Ldap authentications, none of the users that are using OBIEE are created in admin tool, they are all set up using Ldap server which is configured in the Admin tool..
So in this case, how would i be able to set up query limit for these users throu Ldap?
Thanks in advanceYou should still create a group in your RPD and set the query limits. Then in your GROUP init block you could add something like this to make sure all users will get this group:
UNION ALL
SELECT 'GROUP', 'General Query Limits' FROM DUAL -
What is the minimum permission set required to query alert information using OpsMgr 2012 SDK?
Hi,
I am using the OpsMgr 2012 SDK to retrieve alert information from SCOM.
I tried configuring a read-only role for a user account (Group Scope: All, Dashboards & Views: All) but, as I call some of the APIs like Administration.GetAllManagementServers(), Administration.GetAllAgentManagedComputers() etc. I get a UnauthorizedAccessEnterpriseManagementException.
I need to know what are the minimum permissions required for a user to query alert information and to make calls I mentioned above using the OpsMgr 2012 SDK.
Warm Regards
Himanshu AgarwalThanks for the reply.
Just to give you a context, I am writing a client application where a user can fetch alert information from SCOM using OpsMgr 2012 SDK. There could be many users that would use this application, hence I need to know the minimum set of permissions I can grant
or add them to a group for easy maintenance.
I believed Read-Only admin role was intended for that purpose but some of the SDK APIs as I mentioned throw the said exception.
I would like to know, how can i create such role/group from SCOM 2012 console.
PS: SDK and Config account is used by SCOM to perform DB operations and I would not like to impersonate this account in my client application. Instead I want to make my clients as admins with just enough permissions to read information. I'll have a better
control this way. -
Javascript: Query all users with read permission to specific list
Is it possible to use javascript to retrieve all users with read permissions to specific list? This (http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-get-all-the-users-from-site-group-in-sharepoint-2013/) shows how to get users from group but what
about list. All users in list may not exist in spgoups.Hi,
If with Server Object Model which is executed in server side, in the
SPList object, there is a
RoleAssignments property can help to get what you want without looping through all the users in site:
public static void getPermissionsOfList()
using (SPSite site = new SPSite("http://sp"))
using (SPWeb web = site.RootWeb)
SPList list = web.GetList("/Lists/List1");
SPRoleAssignmentCollection roles = list.RoleAssignments;
foreach (SPRoleAssignment role in roles)
Console.WriteLine("~");
Console.WriteLine("Name: " + role.Member.Name);
SPRoleDefinitionBindingCollection bindings = role.RoleDefinitionBindings;
XmlDocument doc = new XmlDocument();
doc.LoadXml(bindings.Xml);
//Console.WriteLine(doc.InnerXml);
XmlNodeList itemList = doc.DocumentElement.SelectNodes("Role");
foreach (XmlNode currNode in itemList)
string s = currNode.Attributes["Name"].Value.ToString();
Console.WriteLine("Permission Level: " + s);
However, when comes to JavaScript Client Object Model, as there is no such property provided, I suggest you take the solution provided in my previous post for a try.
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
24"iMAC panel much higher quality than 23" Acd, its the same as Samsung ?
Hi! According to my research on 24" LCD panels, they almost all use samsungs S-PVA screen, including 244t, Dell 2407WFP , Acer, HP, etc etc.. I notice a huge jump in quality compared to the 20" or 23" ACD, mainly due to the lack of grainy/sparkly/vid
-
I need to back up and sync multiple iPhones to a single iMac. Each iPhone has a separate Apple ID and the data from each iPhone needs to be backed up separately from the others. How can I do this without getting all of the contacts, etc. mixed? Tnx
-
Why can't see my, or other people's pictures on myspace?
When I sign in myspace. My profile pictores don't come up, or my friend's pictures either. Now when I called my friends, they CAN see my profile pictures, and other people's also. Can someone pleas help me? I tried contacting Verizon, but they couldn
-
Hi Guys, I have seen lots of questions all over the net about this issue with no definitive answer as yet. I have always accepted slightly soft or pixellated menu images and text when creating in DVD studio pro but I now have a client breathing down
-
How do I create sub catalogs in Perfume templates
I am having trouble creating sub catalogs in the BC templates Perfume shop Is the option of sub catalogs permitted in the set up the module tag that is appearing in the sidebar menu is ...... {module_cataloguelistdump,-1}