[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mount NFS hangs



On Tue, Oct 04, 2022 at 12:04:56PM +0100, tony wrote:
> I can successfully do (pls ignore spurious line break):
> 
> mount -t nfs -o _netdev tony-fr:/mnt/sharedfolder
> /mnt/sharedfolder_client
> 
> but the user id is incorrect.

What do you mean, "the user id"?  As if there's only one?

This isn't a VFAT file system.  It's NFS.  The file system on the server
has multiple UIDs and GIDs and permissions.  These are reflected on
the client.

If a file (say, /mnt/sharedfolder_client/foo.txt) is owned by UID 1001
on the server, then it is also owned by UID 1001 on the client.

Unless of course you're doing ID mapping stuff, which I have never done,
and really don't recommend.

Just make sure UID 1001 on the server and UID 1001 on the client map to
the same person.  And similarly for all the other UIDs and GIDs.


Reply to: