Skip to content

scp.upload fails if there is a directory symlinked into the local path #35

@atheiman

Description

@atheiman

Given this code:

ssh.scp.upload('/local/path', '/remote/path', recursive: true)

It looks like if there is a symlink at /local/path/symlink pointing to another directory on the local filesystem, scp upload fails.

this was discovered in test-kitchen/test-kitchen#1319. In that issue there is a test-kitchen output that shows the scp failure, but I don't yet have a clean example outside of test-kitchen.

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