]> git.parisson.com Git - telemeta.git/commitdiff
Restore /media directory owner fix
authorThomas Fillon <thomasfillon@users.noreply.github.com>
Tue, 19 Sep 2017 16:15:18 +0000 (18:15 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Sep 2017 16:15:18 +0000 (18:15 +0200)
app/scripts/app.sh

index f5f806e27bbb2f20efc2c7b65e293a68956d9694..c293c44c2f77ffd285a94919be79827d5012fd84 100644 (file)
@@ -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