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

Set permissions after DB initialise; make media permissions optional #255

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mpfl
Copy link

@mpfl mpfl commented Jan 13, 2024

This pull request fixes #254 by changing the order of entrypoint.sh

It also adds a new ENV: FIX_MEDIA_PERMISSIONS that, if set to false, stops bragi from trying to change the ownership on the /input and /output directories. Bragi isn’t the only app that is accessing those directories so I don’t want it to take ownership of everything. /config remains untouched as only bragi has access to that anyway.

@djdembeck djdembeck changed the base branch from main to develop August 7, 2024 17:24
@djdembeck
Copy link
Owner

Thanks for the contribution!

I switched the target branch to develop since we don't want this in main without testing.

Also, please add the new FIX_MEDIA_PERMISSIONS env var to the README so everyone knows about it:

| Parameter | Function |

You can see how the other available vars are listed there as an example.

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

Successfully merging this pull request may close these issues.

New install with UID/GID set cannot access own database or secret key
2 participants