From c4a8192aa7d5dacce852bf033c182df89789c9cd Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 7 Aug 2018 14:39:21 +0200 Subject: [PATCH] Fix cache prod access rights, avoid W342 warning --- app/bin/app.sh | 2 +- app/settings.py | 2 ++ lib/TimeSide | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/bin/app.sh b/app/bin/app.sh index 37568a03..84e0e246 100755 --- a/app/bin/app.sh +++ b/app/bin/app.sh @@ -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 \ diff --git a/app/settings.py b/app/settings.py index 88c335e1..3b37ff78 100644 --- a/app/settings.py +++ b/app/settings.py @@ -377,3 +377,5 @@ NOTEBOOK_ARGUMENTS = [ '--allow-root', '--notebook-dir', NOTEBOOK_DIR ] + +SILENCED_SYSTEM_CHECKS = ['fields.W342',] diff --git a/lib/TimeSide b/lib/TimeSide index fcfd1c40..cbba5c69 160000 --- a/lib/TimeSide +++ b/lib/TimeSide @@ -1 +1 @@ -Subproject commit fcfd1c404e907067878e3a75a4ab8f99277be3a6 +Subproject commit cbba5c6929a40bbf52eebded1e12ac1270390454 -- 2.39.5