Skip to content

drop from root in entrypoint script #73

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

Merged
merged 7 commits into from
Jan 27, 2019

Conversation

williamboman
Copy link
Member

Closes #68.

@williamboman
Copy link
Member Author

/cc @jkaberg & @capi

if [ "$(id -u)" = '0' ]; then
# use the node user by default
if [ "$*" = "thelounge start" ]; then
find "${THELOUNGE_HOME}" \! -user node -exec chown node '{}' +
Copy link
Member

@xPaw xPaw Jan 27, 2019

Choose a reason for hiding this comment

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

Why not chown --recursive without find?

Copy link
Member Author

Choose a reason for hiding this comment

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

@williamboman williamboman merged commit 7f7d9d3 into thelounge:master Jan 27, 2019
@williamboman williamboman deleted the drop-from-root branch January 27, 2019 22:10
@capi
Copy link

capi commented Jan 28, 2019

Thanks!

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.

3 participants