Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't initialise with User ENV Variable #5

Open
jt196 opened this issue Jun 10, 2020 · 0 comments
Open

Can't initialise with User ENV Variable #5

jt196 opened this issue Jun 10, 2020 · 0 comments

Comments

@jt196
Copy link

jt196 commented Jun 10, 2020

Sorry, I'm new to Docker but after struggling with moving some of the core files outside of the container, I'm tripping at the final hurdle experiencing some problems with file permissions.

Tried to run this as a docker user on a Synology NAS using environment variables:

PGID=xxx
PUID=xxxx

Double checked all the files for ownership/permissions, they're all working, so the podcastgen isn't able to write to these directories. I'm wondering whether Synology Docker app (the only way I could get this to work) has some special commands to initialise with a specific user - or if that's container related. Apologies, but just getting my head round the tech.

What I know is, if I change the permissions thus:

chmod 777
chmod 777 <config.php>

it works, I know it's not 755, but enough for today. Do you know how to set up a user env variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant