Answer posted by me below, can't accept my own answer yet
I am working on a chat client, for development I use a docker setup that uses a 'generate' command to create a config file that you can adjust and use to launch the actual service. On my desktop it works fine however when trying to run it on a respberry or a seperate hd on my laptop it throws a file handler error in the build process stating that permission has been denied.
I might be a total noob here but I did change folder mount point permission on my laptop and the raspberry has permissions set on the folder.
Docker also is set up to run w/o typing sudo for every command.
Here are the permission codes for working vs non working config file
# Auto generated, working local -rwxrwxrwx 1 root root 103443 <date> <filename>
# Auto generated not working pi and laptop -rw-r--r-- 1 991 991 106030 <date> <filename>
Am I just not correctly setting up my hard drives ? I get this error on my pi if it's on the default OS partition or not. I am able to start up and serve django with reverse proxy no issue.
The chat service I am building on is matrix/synapse. Here is the docker folder on the synapse server repo with the basic setup. The file giving issues is homeserver.yml that is generated from:
docker-compose run --rm synapse generate