From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
When using scp to put files on people.redhat.com, I noticed that the
destination files were the expected length, but full of NULLs. It took me a
few seconds to figure out why my files appeared to be the correct size, but the
md5sums were wrong. I expected the truncated files would have their file sizes
truncated as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Give yourself a small disk quota
2.scp in a large file from another machine
3.use ls -l and od -c to look at the results
Actual Results: The (truncated) destination file is reported to be the correct
size by ls
Expected Results: The truncated destination file should be reported to be the
This is fixed in OpenSSH CVS and will be in 3.6(p1).
If RedHat wants to include the fix before this, it may be found at:
Note that a similar fix was needed for rcp.