VirtualBox

Opened 14 years ago

Closed 8 years ago

#7911 closed defect (obsolete)

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)

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 (3)

comment:1 by Frank Mehnert, 14 years ago

Description: modified (diff)

comment:2 by georgelund, 11 years ago

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 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette