-
-
Notifications
You must be signed in to change notification settings - Fork 12
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 UID, GID of downloaded files. #35
Comments
Duplicate of #33 ? |
nope, that's for its running context. while it could accomplish the same it's not exactly the same thing. this would allow you to continue running as root in the container but the file permissions would change. |
Sounds like wanting to support UMASK (like linuxserver images), which maps the container root to a local user with less-than-root access. |
The above change creates a container-local user (so only existing in the container) named kapowarr on startup of the container, with a PUID:PGID able to be defined in environment variables. |
That is correct |
Awesome. In that case, once the PR is reviewed (and hopefully accepted), the next build will support it. |
although looking at the docs changes that are being brought in for #59 having a umask setting could still be useful. |
+1 |
Is your feature request related to a problem? Please describe.
the container runs as root but i don't want to store my comics with root user and group.
Describe the solution you'd like
support for setting the uid and gid of the files downloaded.
Additional context
would also be nice to set the umask for the files as well. 644 might not be what people want.
The text was updated successfully, but these errors were encountered: