NFS is interesting. In my case, there is a Windows user who uses the NAS as a backup server so we use SMB. Permissions are not important there because everyone on the LAN shares data. When you use NFS, what difference is there from the user perspective and the administrator perspective?
You might want to refer to my NAS guide: Building A Pi Based NAS.
In brief, consumer levels of Windows cannot use NFS. I believe Pro/Enterprise levels can but have no experience of it.
On Linux with SMB all user, group, and permissions are faked at mout time in the driver. What the client sees is not what the server sees and there are multiple levels of mapping going on (client Linux user -> SMB user -> server Linux user), same for permissions.
With NFS on Linux, permissions etc. just work as longs as either you have configured maping for username/IDs across machines or all users have the same numeric UIDs on client(s) and server(s). What you see on the client is what is set on the server's file system.
Can you use NFS for Linux machines and add SMB for the odd Windows user?
Yes.
Statistics: Posted by thagrol — Wed Aug 14, 2024 1:40 pm