Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364633 - [dstore][multithread] process miner getting wrong uid
Summary: [dstore][multithread] process miner getting wrong uid
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 364634
  Show dependency tree
 
Reported: 2011-11-23 12:52 EST by David McKnight CLA
Modified: 2012-02-06 09:36 EST (History)
0 users

See Also:


Attachments
patch to use client.username rather than user.name (2.64 KB, patch)
2011-11-23 12:57 EST, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David McKnight CLA 2011-11-23 12:52:42 EST
When using a single-server daemon running under root, the process miner doesn't pick up the correct user id.  It gets root instead by using _dataStore.getClient().getProperty("user.name") when it should be using _dataStore.getClient().getProperty("client.username").
Comment 1 David McKnight CLA 2011-11-23 12:57:02 EST
Created attachment 207437 [details]
patch to use client.username rather than user.name
Comment 2 David McKnight CLA 2011-11-23 13:02:45 EST
I've committed the fix to the HEAD stream.