Skip to content

Make the commands executed for SSH+SCP, SSH+SUDO and SSH+INTERACTIVE_SUDO connections configurable #52

@demobox

Description

@demobox

Currently, the sudo connection methods use a two-step approach to copy files to a target location:

  1. Files are copied to a staging directory using the connecting user
  2. Files are moved to the target location using the sudo user

The command that carries out the second step is (depending on the value of the sudoPreserveAttributesOnCopyFromTempFile property), cp -r or cp -pr. It would be more flexible if the user could configure this command to support arbitrary flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions