Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 369809 | Differences between
and this patch

Collapse All | Expand All

(-)miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java (-2 / +2 lines)
Lines 180-191 Link Here
180
			String userHome = null;			
180
			String userHome = null;			
181
			Client client = _dataStore.getClient();
181
			Client client = _dataStore.getClient();
182
			
182
			
183
			if (client != null && theOS.equals("z/OS")){ //$NON-NLS-1$
183
		    if (client != null){ //$NON-NLS-1$
184
				String clientActualUserId = client.getProperty("client.username");//$NON-NLS-1$
184
				String clientActualUserId = client.getProperty("client.username");//$NON-NLS-1$
185
				String clientUserId = client.getUserid();
185
				String clientUserId = client.getUserid();
186
				
186
				
187
				userHome = client.getProperty("user.home");//$NON-NLS-1$							
187
				userHome = client.getProperty("user.home");//$NON-NLS-1$							
188
				if (clientUserId != null && !clientActualUserId.equals(clientUserId)){
188
				if (!theOS.equals("z/OS") && clientUserId != null && !clientActualUserId.equals(clientUserId)){
189
					suCommand = "su " + clientUserId + " -c "; //$NON-NLS-1$ //$NON-NLS-2$					
189
					suCommand = "su " + clientUserId + " -c "; //$NON-NLS-1$ //$NON-NLS-2$					
190
				}					
190
				}					
191
			}
191
			}

Return to bug 369809