Answer the question
In order to leave comments, you need to log in
How to set the required uid / gid for NFS mounts?
There are two servers. How to mount a folder from one to another so that the files and folders on the client have the necessary local owners (user / group)?
On the server, serverUid / serverGid owns the files. On the client, the files must be owned by clientUid / clientGid.
The client will create new folders / files, and it is necessary that on the client they be under the client uid / gid, and on the server they turn out to be under the server ones.
As a compromise, I can create a user on the server with the required uid / gid, which matches the client ones.
Tell me how to be - zero experience with NFS.
Answer the question
In order to leave comments, you need to log in
There are two options - either create a user with matching UIDs, or create a group, add users with matching UIDs to it.
NFS has an idmapd daemon that maps local and remote uid/guid. I advise you to see how it is configured
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question