Hi all,
I recently started using nfs4.
I was happy that idmapd maps usernames correctly even if they have different uid and gid.
However now it seems this is just to make it more confusing.
While the share is mounted and I am root, when I do an ls I get the correct ownership and group.
However when I su to the user and try to create a file I get "permission denied" (even if the permissions are correct and the share is mounted rw and it is exported rw, ...). So in the end it seems that while it maps correctly with different gid and uid between the server and client, it still should be the same on both machines.
Now I wonder if there is really no way to fix this, so I can have different uid gid between server and client.
I recently started using nfs4.
I was happy that idmapd maps usernames correctly even if they have different uid and gid.
However now it seems this is just to make it more confusing.
While the share is mounted and I am root, when I do an ls I get the correct ownership and group.
However when I su to the user and try to create a file I get "permission denied" (even if the permissions are correct and the share is mounted rw and it is exported rw, ...). So in the end it seems that while it maps correctly with different gid and uid between the server and client, it still should be the same on both machines.
Now I wonder if there is really no way to fix this, so I can have different uid gid between server and client.