From 89fbd6361362d4ca7205f266b940693767e7233a Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Fri, 22 Dec 2023 15:59:57 +0000 Subject: [PATCH] HPCC-31047 Ensure _remoteStoragePlane is not copied When performing a DFU file copy, _remoteStoragePlane should not be copied from the source file descriptor. Signed-off-by: Jake Smith --- dali/ft/filecopy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dali/ft/filecopy.cpp b/dali/ft/filecopy.cpp index 595d83672ea..19997d3a089 100644 --- a/dali/ft/filecopy.cpp +++ b/dali/ft/filecopy.cpp @@ -3692,7 +3692,8 @@ void FileSprayer::updateTargetProperties() ForEach(*iter) { const char *aname = iter->query().queryName(); - if (stricmp(aname, "Protect") != 0) + if (!(strieq(aname, "Protect")|| + strieq(aname, "_remoteStoragePlane"))) curProps.addPropTree(aname, createPTreeFromIPT(&iter->query())); }