I have succesfully mounted an NFS share from my remote machine to my local. However, the files I want to edit on the remote machine are all owned by `root`.

How can I mount my NFS drive so that my local user can edit these files?

I tried the `idmap.conf` file, but I couldn't quite get if I should edit that on the local or remote machine and which services I should restart (again, local or remote) to have any affect.

From the past, I remember the `uid=X,gid=X` options to do something like this, but I now get this error on those:

```
mount.nfs: an incorrect mount option was specified

```

I am using Fedora 34 as local and CentOS 7.6 remote.