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