How to mount nfs drive on macOS with read+write access?
I have this setup, please do the machine/folder names translation according to your case.
In /etc/exports on server side (mine is a centos 7):
/workspace_guest/02.code 
172.20.0.1(rw,sync,insecure,all_squash,anonuid=1000,anongid=1000)

From client side (macOS Catalina Version 10.15.6)
$ sudo mount -t nfs -o resvport,rw,noowners 172.20.0.100:/workspace_guest/02.code /Volumes/C76/02.code

There is a good explanation in this post as &quot;all_squash will map all UIDs and GIDs to the anonymous user, and anonuid and anongid set the UID and GID of the anonymous user.&quot;. I make it on the client side as &quot;noowner&quot; is to apply the current user/group as the &quot;anonymous&quot;. You can also refer to the other post for the configuration.