Is this is the only VM from that datastore facing this issue? Or multiple VMs? Also try to create a file inside the VM folder and see if that allow you to create files.
If this is a Metadata corruption then you have to contact VMware Support to fix the metadata corruption.