-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow non root usage #135
base: main
Are you sure you want to change the base?
Allow non root usage #135
Conversation
add ability to run as non root user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason this does not work for me. Can you specify which host OS you're using and whether the 100 user already exists on the host?
The host OS is Ubuntu 22.04. Both user and group IDs were already taken on my host OS, after the script is run my folders look like below. The uid maps to the user '_apt' and the gid maps to 'systemd-journal', but I don't think this matters in the container. Additionally the folders have a 775 mask.
|
When I execute this on my system, I get the errors: dns-prod-1 | 01-Dec-2023 16:40:23.493 the working directory is not writable
dns-prod-1 | 01-Dec-2023 16:40:23.501 loading configuration: permission denied
dns-prod-1 | 01-Dec-2023 16:40:23.501 exiting (due to fatal error) I don't know why that occurs, doesn't matter if I set the compose folder to rw. |
Just updated the shell script to set a 775 mask on the folders. See if that works |
Did mask 775 allow the container to access those directories? |
Checklist:
Update index.md
). Check this guide regarding titles.Closes #XXXXX