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

spiffytech
  • 1,063
  • 2
  • 11
  • 17
  • You need idmapd. – fuero Aug 10 '18 at 06: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 Answers1

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.

fuero
  • 9,591
  • 1
  • 35
  • 40