I'd like my NFS server to always use the same user ID to own the files, whatever user ID is used on the client.

Is this possible and how?

  • What NFS server are you running? On what unix variant? Oct 10, 2013 at 21:40
  • @Gilles OSX Lion's built-in NFS server
    – BenMorel
    Oct 10, 2013 at 21:52

2 Answers 2


Put -mapall=user into your exports file.

See man exports for details


This is possible, look at the User ID mapping section in the exports manpage.

Basically you want this in the exports line: all_squash anonuid=whatever anongid=whatever

If you're not on linux but on BSD, do what Chris S said.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .