Permission denied error on opening NFS mounted directory

So I’m trying to set up NFS, but for the life of me I can’t figure out how to get it to mount properly. My plan is to follow the mount file guide here, but I figure I should make sure I can mount with mount first.

My options on NFS are:


I’m mounting with:

sudo mount -t nfs -o vers=4 server:/ /mnt/location

I can mount fine, but when I run ls /mnt/server I get:

ls: cannot open directory '/mnt/location/server': Permission denied

What do I need to try?

Looks like that root is the owner of that dir, you need to change the owner or the permissions of /mnt/location/

When trying to access it with sudo, I still have problems, though. How would I change the owner in the mount system?