I have a problem with files on a mounted share inside a Virtualbox machine.
The problem is that even though I can see the content of the files fine enough from the shell, the same files turn out slightly corrupted, truncated or in old versions, sometimes when served over http via an Apache web server.
The problem seems only to happen once the file reaches a certain length (100-200 characters). Sometimes non-readable characters are added to the end, resulting in little question marks in the browser. Another common symptom is that when the file is changed from the host, there is no way to get Apache to serve the new version. (The problem is not related to ETags and Apache has perfect read permissions on all files. I doubt it's solely related to encodings either.)
It really looks like a filesystem-level problem which only manifests itself in Apache.
Host: MacBook Pro/Snow Leopard
Guest: Fedora 16
I have tried mounting in fstab but also manually, changing userid to apache.
I apologize for the vague (unresearched?) problem description, but I really don't know where to start with this and I am hoping to get some hints in the right direction. Is it Mac, Virtualbox, Fedora or Apache that is the real problem?
UPDATE: I realize there is more to it than Apache httpd not serving the files correctly - sometime, when I create a new folder on the host, the entry is shown as a bunch of question marks when doing a directory listing in the shell of the guest. It almost goes without saying that I cannot traverse into that new folder, until I have rebooted the guest.