﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
9276,"If editing a file in a shared folder (folder on the host) from the guest, file is not terminated properly and corrupted. => fixed in 6.0.6",Andrew Serpa,,"Using Windows guest and on Windows host.  If I open a shared folder (file resides on host, and is a shared folder on guest) and edit a text file (on the guest), if I shorten the file and re-save, the file is not terminated at the new shorter length.

In other words, I open up a shared folder (folder from host) text file from the guest in a text editor.  Let's say the file looks like this:

111111
222222
333333
444444
555555
666666
777777
888888


Now I remove some stuff to make it smaller:

111111
222222
333333
theend

and re-save the file (overwrite original).

Now I close the file and re-open it (either in guest or host).  It will read something like

111111
222222
333333
theend
555555
666666
777777
888888

It has not terminated the file at the shortened length and now I've got a corrupted file.  If I do this with a networked folder rather than a shared folder, it works fine. (Even with same folder/file.)

I notice you just updated to 4.1 and I am still using 4.0.12, but I can tell you this is a long-standing bug and has been that way for several versions at least (or forever as far as I know).  I have not tested this on Linux guests or hosts.
",defect,closed,shared folders,VirtualBox 4.0.12,fixed,,,Windows,Windows
