Skip to content

Conversation

@SgtSilvio
Copy link
Contributor

@SgtSilvio SgtSilvio commented Feb 28, 2024

The line chmod -R 777 /opt/hivemq/extensions is problematic when running the HiveMQ container with a non-root user.
It is now made optional (removing it completely is not possible because older HiveMQ container images still need to be supported).

@eddumelendez
Copy link
Member

Hi @SgtSilvio can you add a test to reproduce the issue, please?

@SgtSilvio
Copy link
Contributor Author

SgtSilvio commented Feb 28, 2024

@eddumelendez the issue happens with hivemq-ce version 2023.4 as it runs the container as a non-root user by default. So I updated the version used in the tests to 2023.4. I kept an older version in some tests to also cover older versions that run as the root user.

@eddumelendez eddumelendez added this to the next milestone Feb 28, 2024
@eddumelendez eddumelendez merged commit af5863c into testcontainers:main Feb 28, 2024
@eddumelendez
Copy link
Member

Thanks for your contribution, @SgtSilvio !

fokion pushed a commit to fokion/testcontainers-java that referenced this pull request Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants