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

Update entrypoint.sh #696

Merged
merged 1 commit into from
Jul 3, 2022
Merged

Update entrypoint.sh #696

merged 1 commit into from
Jul 3, 2022

Conversation

martadinata666
Copy link
Collaborator

@martadinata666 martadinata666 commented Jul 3, 2022

about gosu behaviour, it looking for local "existed" UID, exec gosu UID:GID -> gosu looking for custom UID:GID -> gosu can't find it -> UID:GID became blank -> exec gosu blankUID:blankGID -> permission denied.
That is our issue, so updating our entrypoint to change existed user "youtube" to match custom UID and GID, will make gosu correctly use UID:GID as it existed.

Related #671

about gosu behaviour, it looking for local "existed" UID, i  found it become blank.
That is our issue, so updating our entrypoint to change existed user "youtube" UID and GID to match compose request, will make gosu correctly find use UID:GID as it existed.
Copy link
Owner

@Tzahi12345 Tzahi12345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified working here: #671 (comment)

Approving! Thank you so much for this PR!!

@Tzahi12345 Tzahi12345 merged commit f3572d2 into Tzahi12345:master Jul 3, 2022
@martadinata666
Copy link
Collaborator Author

Add some reference for tracking

npm/cli#4996
nodejs/docker-node#1734

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.

2 participants