NFS Share to Arch client | Permission Issue

Quick sob story (aka, context):
I’ve got a very simple share setup that was initially set up as SMB. Now that I’m trying to transition a few of my machines to Linux (Arch, btw :face_with_hand_over_mouth: ). It made sense for me to give NFS a shot. So I’m currently sharing that same share with both protocols and I cannot (after 3 whole days) get this linux client to mount the share due to some kind of permission protocol that I frankly can’t wrap my head around.

After running full speed into the dark (reading any wiki/post/video I believe exists on this issue), I’ve gleaned the following:

  • The uid and the gid need to match between client and TN (=1000).
  • the client’s mount point needs the same uid/gid permission to make changes (full control across the whole arrangement).

The image I have in my mind now is that the same uid and gid have access across the dataset AND the local filesystem to include the mount point.

My best effort after an inordinate amount of troubleshooting still results in an error telling me the mount operation is not permitted.

I suppose I could just give up on this and chase mounting the SMB with cifs, but the apparent simplicity of NFS seemed too good to pass up for such a small network as mine. alas.

Any guidance in this would be immensely appreciated.

You must be root on the client to mount. NFS share concept is per machine set up by an admin, not per user. That’s why UIDs and GIDs must match.

I think that’s where my confusion lies. I think when I’m home later, I need to do a closer review of ownership of the dataset and share.

Last I attempted, elevating into root and attempting the mount still resulted in ‘operation not permitted’ (I assume not permitted by the server).

Both can be true at the same time :wink: