Ticket #10563 (new defect)
guest addition functions degrade with guest runtime
|Reported by:||PinkyBrain||Owned by:|
|Version:||VirtualBox 4.1.8||Keywords:||shared folders, clipboard, long run time|
Sorry, but this is going to be a bit vague and probably hard to reproduce, but has happened to me various times, so I guess it is a bug.
I'm running VirtualBox 4.1.8 on Win7 (64 bit). I know this isn't he current version, but I cannot update the setup now and the release notes of newer versions don't indicate a fix to my problem.
Guest OS is Ubuntu 11.4, but I had the same problems with previous versions of Ubuntu too. There's one shared folder ("Temp") in the VM mounted via fstab:
Temp /media/Temp vboxsf rw,uid=1000,gid=1000 0 0
Right after starting the VM almost everything works (bidirectional clipboard, access to files in the shared folder). But even then only root may write to the shared folder, normal users get
cp: cannot create regular file `/media/Temp/foo': Permission denied
To keep my working state I take a snapshot from time to time and reset the VM to the last snapshot instead of a shutdown. So the VM runtime is can get quite long (several weeks or month).
After some time clipboard sharing stops to work completely - guest and host use seperate clipboards.
Later the shared folder also degrades and I cannot write files inside the host anymore, even as root I get an error stating that a file of the same name already exists although it doesn't.
A restart of the VM fixes all the strange effects .. for a while. It seems the restart also fixes at least the shared folder issues of a loaded snapshot too!?