6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-13 14:43:03 +00:00

Fix "Read-only file system" error in dev (again)

Looks like the `-perm /u=w` argument incorrectly includes files from the
read-only filesystem. This should be fixed by the `-writable` option.

Close #392
This commit is contained in:
Régis Behmo 2021-01-13 12:27:34 +01:00
parent 1c927c6e96
commit b09d2ea1ed
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- [Bugfix] Fix "Read-only file system" errors when running `tutor dev runserver` commands on Mac OS. (again, see #392)
- [Feature] Automatically bind-mount volumes from the `volumes/` directory with the `--volume=/...` syntax.
## v11.0.7 (2021-01-11)

View File

@ -7,7 +7,7 @@ if id -u openedx > /dev/null 2>&1; then
find /openedx \
-not -path "/openedx/edx-platform/*" \
-not -user openedx \
-perm /u=w \
-writable \
-exec chown openedx:openedx {} \+
echo "File permissions set."