I need some help with my setup please, I am fairly new to selfhosting and the information I found searching hasn’t helped me understand what is wrong. But I have miniPC running proxmox with all my stuff running jellyfin/arr stack etc. I then have another machine running my file share using SMB (maybe this is the wrong way to do it). I can add the share to my datacenter in proxmox and see it and but I cannot get my unprivileged container to write to the share. I can get privileged containers to write when I mount using cifs but this I read this is bad practice.
I have changed permissions on the file share to try give write access, I have tried Option 3 from this link I have been through this reddit thread and others.
Should I just make the lxc’s that need to access the file privileged or is there something I am just not understanding here. I assumed this would be a fairly common setup and be fairly easy to configure but I am often wrong.
I can ping the fileserver and reach I can map the drive from calibre for example but it does not have write persmissions.
Maybe I am mounting incorrectly I mounted with
mount -t cifs username=username \\fileserverIP\folder \mnt\smb_share
This works for 1 of my lxc that is privileged but does not work the unprivileged ones
I’m sorry, I think I gave you bad information. I have my containers set to unprivileged=no. I forgot about the “double negative” in how that flag was described.
So apparently my containers are privileged, so I don’t think I’ve ever tried to do what you are doing.