6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 06:07:56 +00:00

Don't try to chown symlink destinations

The symlinks from edx-platform that point to node_modules/ may have
non-existing targets in case of mounted edx-platform repo.

Closes #20.
This commit is contained in:
Régis Behmo 2018-04-25 21:31:57 +02:00
parent 419aa27501
commit b05e01d27e

View File

@ -7,7 +7,7 @@ if [ "$USERID" -ne 1000 ]
then
echo "creating new user 'openedx' with UID $USERID"
useradd -m openedx -u $USERID
chown -R openedx /openedx
chown --no-dereference -R openedx /openedx
# Run CMD as different user
exec chroot --userspec="$USERID" --skip-chdir / "$@"