Error on sync workspace with version 1.8.1.405

Hello,
since installing Continua CI Version 1.8.1.405 I got the following error when sync the workspace at a stage:
There where noch changes done. The synchronization had been working for more than 1 Year with this file.This happens when writing back any readonly file to server and try to get this result into the next stage.

Could you help me?

Thanks and Regards

Guido

There was an error with stage: Code coverage. Message: Error initialising workspace on agent ‘zde105’: Exception: UnauthorizedAccessException

Message: (5) Access is denied: [\?\C:\CI_WS\Ws\18080\Output\Test.ParametersetManager\BinaryFiles\ReadOnlyFile.bin]

Stack Trace: at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)at Alphaleonis.Win32.Filesystem.File.CopyMoveCore(Boolean isFolder, KernelTransaction transaction, String sourceFileName, String destinationFileName, Boolean preserveDates, Nullable1 copyOptions, Nullable1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)at Alphaleonis.Win32.Filesystem.FileInfo.CopyToMoveToCore(String destinationPath, Boolean preserveDates, Nullable1 copyOptions, Nullable1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, String& longFullPath, PathFormat pathFormat)at Alphaleonis.Win32.Filesystem.FileInfo.CopyTo(String destinationPath, Boolean overwrite)at Continua.Shared.Utils.PathUtilities.TryCopyFileAndPreservePath(String sourceFile, String commonPath, String targetPath, Boolean preserveDirectoryStructure, String& destinationFilePath, Boolean overwriteExisting)at Continua.Modules.Builds.Agent.FileSync.UNCTransport.Copy(String destination, String pattern, IEnumerable1 excludes, String basePath, RuleOperator op, Int32& filesCounted)at Continua.Modules.Builds.Agent.FileSync.UNCTransport.CopyFilesFromServerToAgent(IEnumerable1 rules, String destination)at Continua.Modules.Builds.Agent.AgentBuildHelper.SyncWorkspaceFromServer(TransportContextDTO context, IEnumerable1 rules, AgentWorkspaceSyncContext workspaceCtx)at Continua.Modules.Builds.Agent.AgentBuildHelper.InitialiseWorkspaceOnAgent(IAgentCallbackProxy proxy, TransportContextDTO source, Guid callId)at Continua.Modules.Builds.Agent.AgentBuildRunner.OnInitialisingWorkspace(Transition1 inState)

Hi Guido,

The issue is occurring due to an update to the third party component that we use for long path support. The update included a fix for an issue where the copy method was not respecting the read-only attribute. So the behaviour is now really correct for general copying. We will however we will update our workspace copying to unset the read-only flag on the destination file before overwriting. We hope to get a new version out with this fix in the next couple of days.