Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUDO file copies do not correctly handle target paths with trailing file separator #81

Closed
vpartington opened this issue Aug 20, 2013 · 0 comments

Comments

@vpartington
Copy link
Contributor

If you copy a directory to a host connected by way of SSH/SUDO to a location called /tmp/foo/, you would expect the contents of the directory to appear in the /tmp/foo directory but the actually appear in a directory called /tmp/foo/hostsession.tmp.

This problem does not occur when the target directory is specified without a training slash, i.e. /tmp/foo.

vpartington pushed a commit that referenced this issue Aug 20, 2013
…f their own directory with a random name. Completely fixes #81.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant