From f4b500321d7f644663ba5052716e520547fe7428 Mon Sep 17 00:00:00 2001 From: Danyal Faheem <138459282+Danyal-Faheem@users.noreply.github.com> Date: Mon, 10 Jun 2024 17:44:11 +0500 Subject: [PATCH] fix: run permissions for windows with HOST_USER_ID or 1000 (#1074) --- ...0604_221238_danyal.faheem_permissions_host_fix_on_windows.md | 1 + tutor/templates/dev/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/20240604_221238_danyal.faheem_permissions_host_fix_on_windows.md diff --git a/changelog.d/20240604_221238_danyal.faheem_permissions_host_fix_on_windows.md b/changelog.d/20240604_221238_danyal.faheem_permissions_host_fix_on_windows.md new file mode 100644 index 0000000..d738141 --- /dev/null +++ b/changelog.d/20240604_221238_danyal.faheem_permissions_host_fix_on_windows.md @@ -0,0 +1 @@ +- [Bugfix] Fix permissions error on windows when running `tutor dev start` (by @Danyal-Faheem) diff --git a/tutor/templates/dev/docker-compose.yml b/tutor/templates/dev/docker-compose.yml index 8edf922..fa39d4b 100644 --- a/tutor/templates/dev/docker-compose.yml +++ b/tutor/templates/dev/docker-compose.yml @@ -10,7 +10,7 @@ x-openedx-service: services: permissions: environment: - OPENEDX_USER_ID: "{{ HOST_USER_ID }}" + OPENEDX_USER_ID: "{{ HOST_USER_ID or 1000 }}" lms: <<: *openedx-service