hi all,
I'm setting up plex in an LXC container to run plex in proxmox and successfully mounted the directory and plex can see the files and play them, however I get a "an error has occured" when I try to delete the file. I believe permissions are all correct per the below:
---HOST---
I made a new group called "adam" with GID 1000
/etc/pve/lxc/147.conf
/etc/subgid
file ownership of /mnt/pve/storage/data is as follows:
---LXC CONTAINER---
In the lxc container I also made the group "adam" with GID 1000, the ownership of the above files in the container show as follows:
I have also added the user "plex" to the group "adam" to ensure the plex user has the permissions of that group which should allow it to delete files
Per /etc/group:
It appears the GID mapping is all working, however the plex user (which plex service runs as) can't delete the files, any ideas?
I'm setting up plex in an LXC container to run plex in proxmox and successfully mounted the directory and plex can see the files and play them, however I get a "an error has occured" when I try to delete the file. I believe permissions are all correct per the below:
---HOST---
I made a new group called "adam" with GID 1000
/etc/pve/lxc/147.conf
Code:
lxc.idmap: g 0 100000 1000
lxc.idmap: g 1000 1000 1
lxc.idmap: u 0 100000 65536
lxc.idmap: g 1001 101001 64535
mp0: /mnt/pve/storage/data,mp=/data
/etc/subgid
Code:
root:1000:1
file ownership of /mnt/pve/storage/data is as follows:
Code:
drwxrwxrwx 6 root adam 74 Jul 24 04:57 media
drwxrwxr-x 6 root adam 76 Jul 24 04:55 other
drwxrwxr-x 4 root adam 52 Jul 24 04:56 pictures
---LXC CONTAINER---
In the lxc container I also made the group "adam" with GID 1000, the ownership of the above files in the container show as follows:
Code:
root@plex:~# ls -l /data
total 0
drwxrwxrwx 6 nobody adam 74 Jul 24 03:57 media
drwxrwxr-x 6 nobody adam 76 Jul 24 03:55 other
drwxrwxr-x 4 nobody adam 52 Jul 24 03:56 pictures
I have also added the user "plex" to the group "adam" to ensure the plex user has the permissions of that group which should allow it to delete files
Per /etc/group:
Code:
adam:x:1000:root,plex
It appears the GID mapping is all working, however the plex user (which plex service runs as) can't delete the files, any ideas?