Ticket #10246 (closed defect: fixed)

Opened 8 years ago

Last modified 6 years ago

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



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


VBox.log.1 Download (81.0 KB) - added by YellowMan 8 years ago.

Change History

Changed 8 years ago by YellowMan

comment:1 Changed 8 years ago by YellowMan

It works fine with nfs and samba. I asssume this is a bug from VB Guest Additions...

Last edited 8 years ago by YellowMan (previous) (diff)

comment:2 Changed 7 years ago by frank

Still relevant with VBox 4.2.10? If so, please attach a small testcase showing the problem.

comment:3 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

No response, closing.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use