VMware Fusion 13.0.1. file share with AlmaLinux 9.1

Running AlmaLinux 9.1 in a VMware Fusion vm on MacOs Ventura 13.2.1 on intel MacBook Pro
Enabled file sharing following instructions in https://kb.vmware.com/s/article/74650

File sharing works, but if the vm is rebooted with the file sharing enabled, it appears that there is no write access to the shared directory.

After restart with Enable Shared Folders not checked and then checking Enable Shared Folders
[glenn@localhost ~]$ cat /mnt/hgfs/MyProjects/test.txt
ABC
[glenn@localhost ~]$ touch /mnt/hgfs/MyProjects/test.txt
[glenn@localhost ~]$ ls -l /mnt/hgfs/MyProjects/test.txt
-rw-r–r–. 1 501 games 4 Apr 14 14:54 /mnt/hgfs/MyProjects/test.txt
[glenn@localhost ~]$

After restart with Enable Shared Folders checked before restart
[glenn@localhost ~]$ cat /mnt/hgfs/MyProjects/test.txt
ABC
[glenn@localhost ~]$ touch /mnt/hgfs/MyProjects/test.txt
touch: cannot touch ‘/mnt/hgfs/MyProjects/test.txt’: Permission denied
[glenn@localhost ~]$ ls -l /mnt/hgfs/MyProjects/test.txt
-rw-r–r–. 1 501 games 4 Apr 14 14:49 /mnt/hgfs/MyProjects/test.txt
[glenn@localhost ~]$

The only work-around so far is to uncheck Enable Shared Folders before shutting down and then checking Enable Shared Folders after restarting.

Any thoughts?

I’m replying to my own question.

The problem seems to have been resolved by modifying the service file /etc/systemd/system/mnt-hgfs.mount to remove the “default-permissions” from the [Mount] Options and reloading the systemd daemon.

The VM now starts up and the file sharing works as expected.