Help with correctly setting up permissions

mgr1397

New Member
Oct 14, 2025
1
0
1
So I recently installed Promox on my new server. I absolutely love the concept. Thank you to everyone who helped developed it.

My situation is as follows: I have 3x 4tb external hdd's that i have mounted in addition to a 1x 2tb SSD where promox host is installed.

In my datacenter I have added the 3 external hdd's and they show up properly under /mnt/data1, data2, data3.

Then, I created an LXC for setting up Samba shares as my end goal is to get a VM setup with docker running inside.

Inside the LXC samba config is the following:

Code:
[data2]

path = /mnt/data2/
read only = no
writable = yes
browsable = yes
guest ok = no
force user = root
force group = root
create mask = 0660
directory mask = 0770


Inside this LXC when I do ls -l, all folders/files are under "nobody:nobody" - not sure if that is correct or not.


Now moving on to the Docker VM, I can mount the drives properly in FSTAB using force user: root group: root. However, the issue is coming up when I am running docker containers. Even in my compose stack i set user:root:root, some containers still say they don't have correct permissions to the files on /mnt/data2 for example. I have even gone into the container and done ls -l and the files show up with permissions of root:root but still getting this error.

I never had this issue when running linux with docker (before i migrated to promox).

Does anyone know how to resolve this?