[Bug 863] SCP misses copying a file on error
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Jun 25 19:28:19 EST 2004
http://bugzilla.mindrot.org/show_bug.cgi?id=863
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From dtucker at zip.com.au 2004-06-25 19:28 -------
OK, I take it back, I can reproduce it thusly:
$ cd /tmp
$ mkdir tmp1 tmp2
$ touch tmp1/test1 tmp1/test2 tmp2/test1
$ sudo chown root tmp2/test1
$ cd tmp2
$ scp -p localhost:/tmp/tmp1/* .
test1 100% 0 0.0KB/s 00:00
./test1: set mode: Operation not permitted
./test1: set times: Operation not permitted
$ ls
test1
It looks like the problem is that in this particular path, run_err() gets called
twice, so as soon as the following file transfer starts it get the second of the
error messages.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list