NFS Permission Denied

After many hours of rooting around, re-reading references, YT videos, I could not get the damned thing to mount:

failed: permission denied error.

In the end I found the issue was not my TN settings, although I know a lot more about ACL (grr). The solution was to force the client to use version 4. The client is alpine linux (3.18?).

In simple terms, it appears that the different NFS versions are dealt with differently by TN when it comes to permissions.

mount -t nfs -o vers=4 x.x.x.x:/path/folder /path/folder

The rest of its pretty standard:

  1. setting a non root user and group to own the folder
  2. maproot and mapgroup to the same non-root user

I hope this helps someone!