How do I handle File Permissions across LXCs/VMs/Network?

TotesFab

New Member
Sep 13, 2024
2
0
1
The purpose of my Proxmox is to self host my *arr's, Plex, and other services I want to mess around with. In the past I have always hated working with Linux because I just do not understand how the permissions work and at some point I just get frustrated and give up. I am trying to learn, but adding Proxmox and LXCs to the equation is making it more difficult.

Besides the main drive for Proxmox and the other VMs/LXCs, I have two drives for media storage. These are separate drives, not in RAID and handle different files (Drive A for my old stuff, and Drive B for newer stuff from my seedbox). I want my *arrs to have access to Drive B. I want Plex and Open Media Vault (for SMB/FTP) to have access to both drives. Sometimes Sonarr doesn't move completed files from the seedbox to Drive B because it doesn't have the proper permissions. Also, when I connect to the drives via SMB, I only have R/W on the top level folder and not the sub folders. This makes it difficult to manually add or change things.

This stems from me not knowing how file permissions work across the different VMs/LXCs. I have tried following guides to change the "nobody" UID/GUID, and have also got frustrated and tried to chmod 775/777 (but canceled the tasks because I don't want to be rash). Can someone explain how I should handle file permissions? I have not messed with ZFS pools and stuff like that. Thank you for any help
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!