Greetings all,
after discovering that the vaunted FreeBSD handbook is obsolete regarding NFS, I did some reading, and I though that I was able to figure out, how to set NFS sharing. To start, I enabled read and write access on the entire XXX.XXX.XXX.XXX/24 sub-net for a pool and a filesystem:
Then I mounted the filesystem:
So far so good. However,
I understand that this a user id (UID), group id (GUI) mapping problem. For example, I have user(s) with the same username but a different UID(s), GID(s) on different machines.
How is this mismatch solved in practice so that specific users can be given permissions to specific filesystem?
Kindest regards,
M
after discovering that the vaunted FreeBSD handbook is obsolete regarding NFS, I did some reading, and I though that I was able to figure out, how to set NFS sharing. To start, I enabled read and write access on the entire XXX.XXX.XXX.XXX/24 sub-net for a pool and a filesystem:
zfs set sharenfs='rw=XXX.XXX.XXX.XXX' pool/filesystem
Then I mounted the filesystem:
mount -t nfs XXX.XXX.XXX.XXX:/pool/filesystem /mnt
So far so good. However,
ls -als /mnt
results in:
Code:
ls: Directory_1: Permission denied
ls: File_1: Permission denied
How is this mismatch solved in practice so that specific users can be given permissions to specific filesystem?
Kindest regards,
M