On Windows tutor dev start
fails because of "Permission denied"
#1034
Labels
bug
Bugs will be investigated and fixed as quickly as possible.
Bug description
When running
tutor dev
commands on Windows, the all.log and tracking.log files are owned by root. But the user ID in the lms and cms containers is 1000. As a consequence, runserver commands fail to start.This issue is caused by the fact that the permissions service sets the OPENEDX_USER_ID to "{{ HOST_USER_ID }}", which is 0:
But the lms/cms containers run as user 1000:
To resolve the issue, we should update the permissions container to set
OPENEDX_USER_ID: "{{ HOST_USER_ID or 1000 }}"
.How to reproduce
On windows, run
tutor dev start
. The command will fail with the following error:Environment
Windows.
Additional context
See discussion here: https://discuss.openedx.org/t/tutor-dev-host-user-id-on-windows-10-causing-containers-to-exit-errno-13-permission-denied-openedx-data-logs-all-log/12328/3
The text was updated successfully, but these errors were encountered: