From ccef32631ff70db34316bbd340f781d4b11bda31 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Fri, 16 Oct 2009 15:48:29 +0000 Subject: [PATCH] [287305] [dstore] Need to set proper uid for commands when using SecuredThread and single server for multiple clients -added check for export PS1 since we don't want the user to see that --- .../dstore/universal/miners/command/CommandMinerThread.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java index cb7390dfc65..3c49a689c87 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java +++ b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java @@ -1148,6 +1148,9 @@ public class CommandMinerThread extends MinerThread { // ignore this line } + else if (line.indexOf("PS1='$PWD>';") > 0){ //$NON-NLS-1$ + // ignore this line too + } else { ParsedOutput parsedMsg = null;