]> git.parisson.com Git - telemeta.git/commitdiff
Fix #176
authorThomas Fillon <thomas@parisson.com>
Fri, 2 Jun 2017 13:18:09 +0000 (15:18 +0200)
committerThomas Fillon <thomas@parisson.com>
Fri, 2 Jun 2017 13:18:09 +0000 (15:18 +0200)
app/scripts/app.sh

index a1819a01dacf7efaf46c11bb3ffb0d7702820e80..36ca7388268c341d77d2d36d1f61ed24d09b0958 100644 (file)
@@ -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