]> git.parisson.com Git - telemeta.git/commitdiff
Fix cache prod access rights, avoid W342 warning
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Aug 2018 12:39:21 +0000 (14:39 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Aug 2018 12:39:21 +0000 (14:39 +0200)
app/bin/app.sh
app/settings.py
lib/TimeSide

index 37568a0385dca4743c42a1757732e6928ae67351..84e0e2468b231ec17e76e15fce51884c96b52106 100755 (executable)
@@ -56,7 +56,7 @@ else
     python $manage collectstatic --noinput
 
     # fix media access rights
-    find $media -maxdepth 1 -path ${media}import -prune -o -type d -not -user www-data -exec chown www-data:www-data {} \;
+    find $media -maxdepth 2 -path ${media}import -prune -o -type d -not -user www-data -exec chown www-data:www-data {} \;
 
     # app start
     uwsgi --socket :$port --wsgi-file $wsgi --chdir $app --master \
index 88c335e175c57b9c6e430f9936652a8bb4b1ec1d..3b37ff785435ff075273999daf4e18d9379422c8 100644 (file)
@@ -377,3 +377,5 @@ NOTEBOOK_ARGUMENTS = [
     '--allow-root',
     '--notebook-dir', NOTEBOOK_DIR
 ]
+
+SILENCED_SYSTEM_CHECKS = ['fields.W342',]
index fcfd1c404e907067878e3a75a4ab8f99277be3a6..cbba5c6929a40bbf52eebded1e12ac1270390454 160000 (submodule)
@@ -1 +1 @@
-Subproject commit fcfd1c404e907067878e3a75a4ab8f99277be3a6
+Subproject commit cbba5c6929a40bbf52eebded1e12ac1270390454