From d776d3d71bd1014ceb089163e2bcac629c43a56c Mon Sep 17 00:00:00 2001 From: Nicolas Maillat Date: Fri, 2 Feb 2024 18:27:59 +0100 Subject: [PATCH] PHRAS-4022 setup optim (#4467) * exclude www/thumbnails of chown * Update entrypoint.sh --- docker/phraseanet/setup/entrypoint.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/phraseanet/setup/entrypoint.sh b/docker/phraseanet/setup/entrypoint.sh index 8f055e70fd..7fb412c193 100755 --- a/docker/phraseanet/setup/entrypoint.sh +++ b/docker/phraseanet/setup/entrypoint.sh @@ -295,8 +295,9 @@ chown -R app:app ftp echo `date +"%Y-%m-%d %H:%M:%S"` " - chown APP:APP on backup/ repository" chown -R app:app backup -echo `date +"%Y-%m-%d %H:%M:%S"` " - chown APP:APP on www/ repository" -chown -R app:app www +echo `date +"%Y-%m-%d %H:%M:%S"` " - chown APP:APP on www/repository excluding www/thumbnails" +cd www +chown -R app:app $(ls -I thumbnails) echo `date +"%Y-%m-%d %H:%M:%S"` " - End of chown!"