home

NFSv4 on Void Linux

This was driving me up the wall, I just couldn’t work out how to get the correct user and group names to appear. Turns out I had to install the keyutils package, and create the file /etc/request-key.d/id_resolver.conf with the contents:

create  id_resolver     *       *       /usr/sbin/nfsidmap -t 600 %k %d

Then running

sudo nfsidmap -c

fixed all the permissions on the share.

This was already set up on Debian, it seems.