Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364633

Summary: [dstore][multithread] process miner getting wrong uid
Product: [Tools] Target Management Reporter: David McKnight <dmcknigh>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.4 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 364634    
Attachments:
Description Flags
patch to use client.username rather than user.name none

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.