Skip to content

Commit deae6ae

Browse files
authored
fix: add openedx-private dir to permissions script (#1356)
1 parent 6b44a0f commit deae6ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [Bugfix] Fix permission denied error when uploading files to Libraries v2 by adding `/mounts/openedx-private` to the permissions script. This resolves the issue where the `openedx-media-private` directory was mounted but ownership was not properly set for the app user. (by @ahmed-arb)

tutor/templates/apps/permissions/setowners.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
setowner $OPENEDX_USER_ID /mounts/lms /mounts/cms /mounts/openedx
2+
setowner $OPENEDX_USER_ID /mounts/lms /mounts/cms /mounts/openedx /mounts/openedx-private
33
{% if RUN_MEILISEARCH %}setowner 1000 /mounts/meilisearch{% endif %}
44
{% if RUN_MONGODB %}setowner 999 /mounts/mongodb{% endif %}
55
{% if RUN_MYSQL %}setowner 999 /mounts/mysql{% endif %}

0 commit comments

Comments
 (0)