this post was submitted on 03 Mar 2025
23 points (92.6% liked)

Selfhosted

44058 readers
547 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

UPDATE: I changed to use NFS to manage the files and followed this guide allowing both the lxc and the main node on proxmox access to the files and this has solved the issues for me. My file share is just shared from a Debian server I am hosting potentially I will come across this issues when I swap to TrueNas in the future.

you are viewing a single comment's thread
view the rest of the comments
[–] egonallanon@lemm.ee 2 points 1 week ago

Can the host itself write to the file share? You can check this by trying to create a file in it via the host's shell. If it can't write to it the container won't be able to either.