Hello gentlemen and gentlegirls,
I'm having an issue configuring my NFS share between multiple users, on multiple VM (all Linux) with different access rights.
Here is what I would like to implement:
Second question :
Eventually my needs are the following, in case you know a different/better way to do it:
Thanks if you can help and happy new year !
I'm having an issue configuring my NFS share between multiple users, on multiple VM (all Linux) with different access rights.
Here is what I would like to implement:
- User A in VM A needs to access share A in RW
- User B in VM B needs to access share B in RW
- User A needs to access share B in RW
- User B needs to access share A in RO
Second question :
- I have set up both shares with TrueNas, and make these shares the home folder of the users I created in Truenas.
- So in truenas I created user A and made his home directory share-A, same goes for user B and share-B. I have created also the corresponding groups, and in group-B I have user A and B, and in group-A I have only user A.
- I have also matched the UID et GID of the users in my VMs with the users in TrueNas (so user A has ID 1001 in both the VM and truenas)
- Unfortunately when I mount share-B in VM-A, the user A always fall in the "others" group, it seems not to be part of the group B and have the corresponding rights (the rights you set up in the user panel in TrueNas).
- Any idea why ?
Eventually my needs are the following, in case you know a different/better way to do it:
- User A is a mediaserver
- User B is an external user I somehow trust but not totally
- The mediaserver needs an access to the media files (share A) + an access to the Share B because the user B can upload some media. But I do not want to grant user B RW access to the media library, and I do want the mediaserver to be able to see what user B has uploaded so it appears in the mediaserver immediately. (It's a kind of temporary share where user B can upload what he wants to be available in the media library without me interfering)
- I need user B to be able to download some media (not from the WebUI, in SFTP for example) and thus have RO access to the share-A.
- If there is a better way to do this than the NFS share, feel free to comment.
Thanks if you can help and happy new year !