Hello,
I am trying to setup plex, sonarr and sabnzbd in a LXC unprivileged container. Most of it is done but I am stuck at permissions.
On the PVE host I have created a group called "medialab" with gid 1000 this group has read/write/execute permissions chmod770 for the mounted folder.
In each of the LXC container (plex, sonarr, sabnzbd) I have created the same group "medialab" with gid 1000.
When plex, sonarr and sabnzbd were installed they automatically created a user for it. So I added these user to the medialab group for each container.
In the PVE host I modified each containers conf file with the following mappings:
The problem is plex cannot read the files or see the downloaded content, and sonarr does not create series folder.
Upon further investigating, I noticed plex and sonarr uid is 998 and 110.
Also in each of these LXC containers I am unable to access the mount points that I pointed via conf files. It says permission denied.
Here is ls -l for each of the LXC containers mount points:
Would really appreciate some help and understand what I am doing wrong?
I am trying to setup plex, sonarr and sabnzbd in a LXC unprivileged container. Most of it is done but I am stuck at permissions.
On the PVE host I have created a group called "medialab" with gid 1000 this group has read/write/execute permissions chmod770 for the mounted folder.
In each of the LXC container (plex, sonarr, sabnzbd) I have created the same group "medialab" with gid 1000.
When plex, sonarr and sabnzbd were installed they automatically created a user for it. So I added these user to the medialab group for each container.
In the PVE host I modified each containers conf file with the following mappings:
Code:
xc.idmap: u 0 100000 1000
lxc.idmap: g 0 100000 1000
lxc.idmap: u 1000 1000 1
lxc.idmap: g 1000 1000 1
lxc.idmap: u 1001 101001 64530
lxc.idmap: g 1001 101001 64530
lxc.idmap: g 65534 165534 1
The problem is plex cannot read the files or see the downloaded content, and sonarr does not create series folder.
Upon further investigating, I noticed plex and sonarr uid is 998 and 110.
Also in each of these LXC containers I am unable to access the mount points that I pointed via conf files. It says permission denied.
Here is ls -l for each of the LXC containers mount points:
Code:
drwxrws--- 10 nobody medialab 122 Nov 29 18:03 video
Would really appreciate some help and understand what I am doing wrong?