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

Running testjs in Docker results in root owning .docker/js-build #11777

Closed
AJGranowski opened this issue Jan 9, 2025 · 1 comment · Fixed by #11808
Closed

Running testjs in Docker results in root owning .docker/js-build #11777

AJGranowski opened this issue Jan 9, 2025 · 1 comment · Fixed by #11808

Comments

@AJGranowski
Copy link
Contributor

Running the Javascript tests with Docker results in root owning .docker/js-build.

Reproduction steps

  1. git clone [email protected]:ppy/osu-web.git
  2. cd osu-web/
  3. bin/docker_dev.sh --wait; sleep 10 && docker compose down
  4. docker compose run --rm testjs
  5. find -user 0
    • Observe that .docker/js-build is owned by root.

Expected behavior
Files created by running Docker commands are owned by the current host user, not root.

@AJGranowski
Copy link
Contributor Author

find -user 0 now returns zero results, meaning no items are owned by root after running testjs with Docker.

Thank you!

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 a pull request may close this issue.

1 participant