I'm using environment PUID:GUID values of 1000:1000 in my docker-compose. When browsing the folder permissions in the image I see the following folders are owned by that user.
Unfortunately, the /recordings folder is still owned by root which is the default location for TVHeadnend recordings. I'm attempting to map this directory to a folder on my NAS, but no matter what I try, I keep receiving folder permission errors in TVHeadend when I attempt to record anything.
Is there an existing issue for this?
Current Behavior
I'm using environment PUID:GUID values of 1000:1000 in my docker-compose. When browsing the folder permissions in the image I see the following folders are owned by that user.
Unfortunately, the /recordings folder is still owned by root which is the default location for TVHeadnend recordings. I'm attempting to map this directory to a folder on my NAS, but no matter what I try, I keep receiving folder permission errors in TVHeadend when I attempt to record anything.
Would it be possible to set the ownership of the /recordings folder to the PUID:GUID configured in docker?
Expected Behavior
User abc in the image should be able to write files to the /recordings directory
Steps To Reproduce
Set unique PUID and GUID environment values in docker
Attempt to write to the /recordings folder as the abc user.
docker exec tvheadend su -s /bin/bash abc -c 'touch /recordings/test.txt'
Environment
CPU architecture
x86-64
Docker creation
Container logs