1

I have an AWS EFS NFS4 share (shareA) that is mounted by some servers where all files are owned by userA/uid=800. I'd like to mount that share onto the b-series servers, configured to look like userB/uid=900 owns all of the files. How can I do this?

NFS clients with mountpoints

  • You need idmapd. – fuero Aug 10 '18 at 6:32
  • How would I use idmapd for this? I have read that it only maps usernames, while NFS alters permissions based on numeric user IDs? And how do I get idmapd to only apply the mapping to this one share, and not to the other shares on the server? – spiffytech Aug 10 '18 at 18:52
  • Well, you didn't include that. – fuero Aug 10 '18 at 19:17
1

The way NFS operates is that is wants UIDs/GIDs synchronized across all participants. Newer versions support mappings (with idmapd) of local deviations, but that's pretty much it.

Aside from working with ACLs, I fear that you are out of luck.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.