Ticket #7911 (closed defect: obsolete)

Opened 8 years ago

Last modified 3 years ago

Data loss when writing to hidden file within a shared folder

Reported by: tliebig Owned by:
Component: shared folders Version: VirtualBox 4.0.0
Keywords: hidden file, file attribues, data loss Cc:
Guest type: Linux Host type: Windows

Description (last modified by aeichner) (diff)

Setup Host: Win7 Home Premium 32bit Guest: Turnkey LAMP 11.0 RC (Ubuntu Lucid Lynx) Virtualbox: 4.0.0

Error Description: When writing to a hidden file within a shared folder from the host, Virtualbox reports permission problems and ultimately empties the file.

Steps to reproduce:

  1. Setup Guest system
  2. Install Guest addititions
  3. Create a shared folder on host and mount it in guest
  4. Create a file within the shared folder from the Host (Windows) and set it's attributes to "hidden" (filename e.g. being ".htaccess")
  5. write some data into the file through the host
  6. check the file's content through the guest (all fine)
  7. then, modify the file and try to save it
  8. upon that, the system reports an permission error
  9. when the file is opened again after that, through either the host or the guest, the file is empty
  10. to verify that the error stems from the attribute, just remove the hidden attribute through the host, and save some data into file through the guest afterwards - upon which everything works as expected.

Notice: This error has been in Virtualbox for at least one year. The new 4.0.0 caused me to reevaluate the version, unfortunately with no success. Here's hoping that someone with more knowledge than me gets hold of this ticket and manages to track down/fix the exact issue.

Change History

comment:1 Changed 8 years ago by frank

  • Description modified (diff)

comment:2 Changed 6 years ago by georgelund

This causes massive problems when using programs that rely heavily on hidden folders, like subversion.

I'm still seeing it in VirtualBox 4.2.

comment:3 Changed 3 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

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