VMware Communities
Jellyoooo
Contributor
Contributor

Lock VM mount folder from host to prevent file truncated on build

Hi.

I currently have windows 10. My VM workstation pro version is 12.0.

I am runinng Ubuntu 16.04 on it.

I mounted a folder between Win10 to Linux, Have my git source control on Win only.

Build is through a makefile from Linux,

from time to time when I build libraries on the mounted folder, the output binaries  files are being truncated.

(my guess us that windows, the host touch them some how)

If I just copy aside from the mounted folder to a native folder in ubuntu which is on my VM, the build is success every time so I definitely believe its a problem of the mounted folder.

Bottom line:

Is there an option to lock the folders when I build form the host on VM?

lock /mnt/dev/

/mnt/dev/Makefile

build ...

...

...

release lock /mnt/dev/

Thanks

0 Kudos
0 Replies