Skip to content

Fix the permission error in Wave tour containerized version when run as a nonroot user #2455

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

Open
sulhicader opened this issue Apr 7, 2025 · 0 comments · May be fixed by #2456
Open

Fix the permission error in Wave tour containerized version when run as a nonroot user #2455

sulhicader opened this issue Apr 7, 2025 · 0 comments · May be fixed by #2456
Labels
bug Bug in code

Comments

@sulhicader
Copy link
Collaborator

Wave SDK Version, OS

Error come from v1.5.1

Actual behavior

ERROR: Traceback (most recent call last):
File "/app/venv/lib/python3.10/site-packages/starlette/routing.py", line 693, in lifespan async with self.lifespan_context(app) as maybe_state:
File "/app/venv/lib/python3.10/site-packages/starlette/routing.py", line 569, in aenter await self._router.startup()
File "/app/venv/lib/python3.10/site-packages/starlette/routing.py", line 670, in startup await handler()
File "/app/examples/tour.py", line 374, in on_startup os.mkdir(tour_tmp_dir) PermissionError: [Errno 13] Permission denied: '/app/examples/_tour_apps_tmp' ERROR: Application startup failed.

Expected behavior

Should be able to open the app without permission error.

Steps To Reproduce

  1. Do this
  2. Do that
  3. Do something else
  4. See error
@sulhicader sulhicader added the bug Bug in code label Apr 7, 2025
@sulhicader sulhicader linked a pull request Apr 7, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant