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 "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.". I make it on the client side as "noowner" is to apply the current user/group as the "anonymous". You can also refer to the other post for the configuration.