I make a lot of use from VMWare Workstation's Shared Folders feature: You set a folder on host machine as shared for guest OS, and you can access it on guest, in similar way as a SMB share (read-only or read-write).
The thing that annoys me is that after copying a couple of files from hots to guest, Workstation locks these files from writing, even if the share is set as read-only.
This is especially annoying in often scenario when I'm trying to debug/use a script on guest while I'm still editing it on host.
So far the only ways I know how to make Workstation release these files are:
- suspending the guest machine: that's a terrible pseudo-workaround. It's slow (especially with higher amount of guest RAM) and sometimes the interruption may not be welcome
- copying amount of some random other files, hoping that Workstation has an internal limit on amount of files it would lock: such hack that might useful regularly only if we knew the amount ant it was small
So what are some good ways to make Workstation release those files?
Or alternatively, how to avoid locking them in the first place?
Edit: I did not make few things clear:
I know that it's Workstation (vmware-vmx.exe) that is locking these files (probably due to some internal buffering)
I don't want to release the files by force. I tried that, but releasing them by force makes machine unstable, which I cannot afford
Apparently this is caused by a bug in Workstation.