From: Thomas Fillon Date: Tue, 19 Sep 2017 16:15:18 +0000 (+0200) Subject: Restore /media directory owner fix X-Git-Tag: 1.6.4c~9 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b24ab73c9ec9e5f77a5f5d544d18ee86850afff5;p=telemeta.git Restore /media directory owner fix --- diff --git a/app/scripts/app.sh b/app/scripts/app.sh index f5f806e2..c293c44c 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -42,7 +42,7 @@ if [ $REINDEX = "True" ]; then fi # fix media access rights -# find $media -path ${media}import -prune -o -type d -not -user www-data -exec chown www-data:www-data {} \; +find $media -path ${media}import -prune -o -type d -not -user www-data -exec chown www-data:www-data {} \; # choose dev or prod mode if [ "$1" = "--runserver" ]; then