I want to use an NFS share for backing up. I have created a local user on the client with a specific uid/gid combination that works for writing files to the NFS share. So far so good.
However, I need sudo
to read all users' home directories on the local box for backup purposes. But when I do that, the uid/gid is set to 0 and I can't access the NFS share anymore. How do I get around this without access to the server or changing permissions on local files?