I asked Claude but want to run this by actual humans.
I have a WinShare SMB dataset (owned by smb:x:3000:3000) that I also want to allow access to an Immich App (apps:x:568:568).
Claude recognized the dilemma and seemed to be waffling on the solution. Tinkering with POSIX vs NFSv4 ACL types. Also when POSIX tinkering with ownership by Apps vs SMB.
That’s the answer.
smbis UID 3000 on the TrueNAS host OS — so the 3000:3001 you saw earlier was actually thesmbuser owning the dataset, not Immich’s container UID.So the original ownership of
smb:smb(3000:3000) was correct for SMB access. We need to revert what we did.Restore Correct Ownership
bash
sudo chown -R smb:smb /mnt/Enterprise_Disks/Win-Share sudo chmod -R 775 /mnt/Enterprise_Disks/Win-Share sudo find /mnt/Enterprise_Disks/Win-Share -type f -exec chmod 664 {} \;Verify
bash
ls -lan /mnt/Enterprise_Disks/Win-ShareYou should see 3000:3000 back on the files.
Now Back to the Immich Question
With
smb:smb(3000:3000) owning the dataset, we need to confirm what UID Immich’s container actually runs as so we know if it can read/write the share. …
Since it’s the official TrueNAS community app, Immich’s container UID is well documented. Run this to check what UID Immich is actually running as inside its container:bash
sudo k3s kubectl get pods -n ix-immichThat will show you the Immich pod names, then run:
bash
sudo k3s kubectl exec -n ix-immich <pod-name> -- idReplace
<pod-name>with the actual pod name from the first command (likely something likeimmich-server-xxxxxxxxx).This will tell us the exact UID:GID Immich uses inside the container so we know what the dataset ownership needs to be to satisfy both Immich and SMB simultaneously.
What have you all done in this regard?