Multi-protocol (NFSv3/SMB) shares - getting the permissions right

cannfoddr

Dabbler
Joined
Nov 28, 2021
Messages
12
I have some datasets that I want to share via NFS to a LAB Kubernetes Pi cluster. I have made the dataset available by NFS and by playing around with perms and NFS mappings I have the dataset 'downloads' available to two deployments and can read and write files - its a bit clunky and I am sure I can make things smoother going forwards. 'downloads' has owner 'media' UID 1036 and group 'users' GID 100.

I now want to allow myself to access 'downloads' from my Mac and PC clients using SMB. I have setup a Multi-protocol (NFSv3/SMB) share for downloads and am able to mount the SMB share to my Mac. However I am currently limited to r/o access. I have got around this by giving full access permissions to the data set ie. '777' - this is very clunky.

I think the issue is that UID 1036 and GID 100 do not map on my Mac.

I am looking for best practice in this area - is this a case where a SMB ACL might help?
 
Top