| Summary: | scp -r fails | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Greg Tokarski <gregt> | ||||||||
| Component: | scp | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||||
| Status: | CLOSED INVALID | ||||||||||
| Severity: | normal | ||||||||||
| Priority: | P2 | ||||||||||
| Version: | 4.3p1 | ||||||||||
| Hardware: | ix86 | ||||||||||
| OS: | Cygwin on NT/2k/Win7-11 | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 1155 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Greg Tokarski
2006-02-23 09:41:31 AEDT
I can't replicate this. $ mkdir -p foo/bar $ touch foo/baz $ scp -rv foo dtucker@server:foo creates the foo/ tree on the server as expected. Could you please attach a tarball of an example directory tree and tell us the exact scp invocation that exhibits the problem with that directory tree? Presumably the 4.3p1 is on the cygwin side, what version of OpenSSH is on the server side? Created attachment 1079 [details] strace of scp -rvvvvv foo .... This is a file ganerated by the following: mkdir foo cd foo touch bar touch bar cd .. strace scp -rvvvv foo tokarsg@storm.larimer.org:. > stracessh What's the CYGWIN environment setting on those machines? Mine is "ntsec tty". Created attachment 1081 [details]
Skip d_ino test in scp
Please try this patch.
Created attachment 1082 [details]
Same patch as #1081 autoconf-ed.
If you want to test this one you'll need to run "autoconf" to rebuild configure, but patch #1081 ought to prove whether or not this fixes it.
BTW, according to Corinna d_ino is planned to return to the cygwin library shortly after its brief vacation (if it hasn't already), at which point the patch will be unnecessary. d_ino is back in cygwin so the patches here are no longer required and scp should work as expected. Please reopent if this is not the case. With the release of 4.4, we believe that this bug is now closed. For information about the release please see http://www.openssh.com/txt/release-4.4 . |