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

Copy operation fails sometimes with interactive sudo #206

Open
paulvanderende opened this issue Sep 6, 2017 · 0 comments
Open

Copy operation fails sometimes with interactive sudo #206

paulvanderende opened this issue Sep 6, 2017 · 0 comments

Comments

@paulvanderende
Copy link
Contributor

paulvanderende commented Sep 6, 2017

Using interactive sudo over ssh from linux to linux, the short-circuit copy on a remote host of a directory sometimes fails with the following error.

Stacktrace:

com.xebialabs.overthere.RuntimeIOException: Cannot copy [/tmp/ot-20170905T112626409.456/dir-to-copy] to [/tmp/ot-20170905T112626409.457/dir-to-copy] on [ssh:interactive_sudo://uuuuuu:uuuuuuu@hhhhhhhhhh:22]: (errno=1) at com.xebialabs.overthere.spi.BaseOverthereFile.shortCircuitCopyFrom(BaseOverthereFile.java:156) at com.xebialabs.overthere.spi.BaseOverthereFile.copyTo(BaseOverthereFile.java:99)

Remotely executed copy command involved that returns the errno 1:

cd /tmp/ot-20170905T112626409.457/dir-to-copy ; tar -cf - -C /tmp/ot-20170905T112626409.456/dir-to-copy . | tar xpf -

Is this a bug?

Regards, Paul

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