I am trying to create a Windows VM in my GCP project. My requirement is to mount a Filestore instance to this VM so that all users of this VM have Read/ Write permissions to the ileshare folder mounted. Also I want to automate this process so I am using a startup script that will mount the Filestore instance to my VM.
When I create the VM with the startup script, I can see from the VM console logs that the Filestore instance is mounted to drive D:// but when I create a user and log into the VM instance, I can only see the D:// drive as disconnected. If I manually mount it on a drive (for example, F://), the current user can read/write on this drive but other users created cannot.
How do I ensure that the filestore is mounted on D:// drive and that all users created have read/write access to this drive as well? Is there a specific flag to be used in the mount command or am I missing something?