-
Notifications
You must be signed in to change notification settings - Fork 302
Limit the scope of fixing permissions #1142
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
base: master
Are you sure you want to change the base?
Conversation
6290ccf
to
0cbfc3f
Compare
Have you considered this? |
Guess I'll just use my own fork forever then. |
I only asked a question, not sure why you jump to any premature conclusions, especially because I'm only casually spotting and reading the PR, I don't really maintain the repo for lack of knowhow, I'm grateful for any contributions as long as they are fit for general distribution. |
Let's take a sample from docker-compose, change to nightly tag and set UID&GID, and override
Run result, when the videos downloading works, the nodejs throws errors because of this permission thing. But somehow, the web app works when I'm not really diving into web test properly to find the exact error.
UID & GID result
TLDR;
user-managed permission. Considering some people had large library sizes. Thus at that point, number 2 solution chosen, resulting slow startup. |
Sorry, I was kind of busy and feeling bad earlier. I'll read over this and see what I can do. |
Oh, I see. There's a pm2.config.js that needs write permissions on first run. I'll account for that too. Oh, multiple .config.js files. Let's see. |
Permissions should only be fixed for mutable data directories, not the Docker image itself. v2: Change to only ignore node_modules v3: Throw in some extra restrictions for static content that is part of the Docker image v4: Include .config.js files in the list as necessary
0cbfc3f
to
76e8cdf
Compare
Dang it, I need to update this PR, because it isn't setting ownership for the .cache folder. :/ |
Permissions should only be fixed for mutable data directories, not the Docker image itself.