diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/RemoteFile.java b/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/RemoteFile.java index 148e2c63571..3c19c744fd8 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/RemoteFile.java +++ b/rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/subsystems/RemoteFile.java @@ -1125,7 +1125,10 @@ public abstract class RemoteFile implements IRemoteFile, IAdaptable, Comparable String otherPath = other.getAbsolutePath(); String path = this.getAbsolutePath(); String otherHost = other.getHostName(); - return getHostName().equals(otherHost) && path.equals(otherPath) || otherPath.equals(path); + String otherHostAlias = other.getParentRemoteFileSubSystem().getHostAliasName(); + return getHostName().equals(otherHost) && (path.equals(otherPath) || otherPath.equals(path)); + //return getParentRemoteFileSubSystem().getHostAliasName().equals(otherHostAlias); + } else {