Hi there,
I've got an SMB share from my NAS server for my data. My Jellyfin instance (hosted via docker inside LXC) should have read-/write-access to this SMB share.
The problem is: I always get permission denied issues in my LXC container. The Proxmox host can write inside the share, but not the LXC (and thus not the docker volume).
My relevant lines of the container configuration:
My UID/GID mappings:
I also have a local user with UID 101000 and GID 101000 aswell as a UID and GID of 1000 in the LXC container (which uses Ubuntu 20.04). The share has been mounted using the CIFS option in the database storage tab in the Web interface.
Is there a way to get this permission issue solved without turning the LXC into a privileged container (which would create problems with docker).
I've got an SMB share from my NAS server for my data. My Jellyfin instance (hosted via docker inside LXC) should have read-/write-access to this SMB share.
The problem is: I always get permission denied issues in my LXC container. The Proxmox host can write inside the share, but not the LXC (and thus not the docker volume).
My relevant lines of the container configuration:
NGINX:
arch: amd64
features: nesting=1
mp0: /mnt/pve/mediashare-config,mp=/mnt/shares/config
ostype: ubuntu
unprivileged: 1
My UID/GID mappings:
Code:
# cat /etc/subuid
root:100000:65536
# cat /etc/subgid
root:100000:65536
Bash:
# on the Proxmox host system
drwxr-xr-x 5 root root 5 Apr 13 15:55 pve
# Inside the pve-directory (Proxmox host):
drwxr-xr-x 2 root root 0 Apr 13 16:49 mediashare-config
Is there a way to get this permission issue solved without turning the LXC into a privileged container (which would create problems with docker).
Last edited: