When creating a new schema make passerelle owner of the media/ directory

This commit is contained in:
Benjamin Dauvergne 2014-09-18 14:32:54 +02:00
parent f3e5bd7b6f
commit 36324d4368
1 changed files with 1 additions and 0 deletions

1
init.d
View File

@ -201,6 +201,7 @@ case "$1" in
else
TENANT_DIR="$TENANT_BASE/$TENANT/"
mkdir "$TENANT_DIR" "$TENANT_DIR/media/" "$TENANT_DIR/static" "$TENANT_DIR/templates"
chown $USER:$GROUP "$TENANT_DIR/media/"
$SCRIPTNAME manage create_schema
fi
;;