Opened 13 years ago
Closed 11 years ago
#10246 closed defect (fixed)
Problem writing on shared drive via C++ ofstream
Reported by: | YellowMan | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.1.8 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
Hi,
My configuration is: -- VirtualBox 4.1.8 with GuestAdditions -- Host: GNU/Linux Debian squeeze -- Guest: GNU/Linux Ubuntu Gutsy
Using the C++ ofstream library (in the gest OS) to write a binary file on a shared folder (on the host drive), the program writes only 'zeros' (automounted, but same behavior when manualy mounted). The output is Ok when writing small files, or if the output is on the guest file-system. Also, when using fwrite (stdio.h) instead of write (ofstream) it works fine.
This is very similar to a bug that was said to be fixed in virtualbox 2.2.4 : virtualbox/ticket/1187
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | VBox.log.1 added |
---|
comment:2 by , 12 years ago
Still relevant with VBox 4.2.10? If so, please attach a small testcase showing the problem.
It works fine with nfs and samba. I asssume this is a bug from VB Guest Additions...