Score:0

WinRM Python File copier plugin : only appends, never overwrites?

cn flag

I am unable to change the behavior of the WinRM File Copier in Rundeck, it is a Python based plugin, launched from a RHEL 7.9 (Maipo) Linux Rundeck server that is connected to an Active Directory server.

When it copies an existing file from a Rundeck server (Linux, with Kerberos/Active Directory authentication) to Windows based targets, it appends its content. I am looking how to force overwriting of the target file instead. Until now, I have to delete the target file each time before a file is copied to the target.

Does someone know how to modify this behavior in order to overwrite the content, not append it ? I checked in several Rundeck settings without success.

Rundeck version : 3.2.1-20200113 WinRM Python File Copier plugin: 2.0.12 WinRM Node Executor Python plugin: 2.0.12

Python2 is the version used on the Linux RHEL 7.9 Rundeck server

Thanks

Question also posted on : https://superuser.com/questions/1690791/winrm-file-copier-plugin-only-appends-never-overwrites

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.