From: Thomas Fillon Date: Fri, 2 Jun 2017 13:18:09 +0000 (+0200) Subject: Fix #176 X-Git-Tag: search~2^2~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3de7afa397c3b32487e659f7ba8d91ce8c845cd6;p=telemeta.git Fix #176 --- diff --git a/app/scripts/app.sh b/app/scripts/app.sh index a1819a01..36ca7388 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -39,7 +39,7 @@ if [ $REINDEX = "True" ]; then fi # fix media access rights -chown -R www-data:www-data !(import) $media +find $media -type d -exec chown www-data:www-data {} \; # choose dev or prod mode if [ "$1" = "--runserver" ]; then