From beed8f4b722bd3eb8f389efccf06efc6f8e9cc09 Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Mon, 4 Nov 2024 21:11:17 +0100 Subject: [PATCH] feat: exports: update for dedicated export path (#43) see elabftw/elabftw#5317 --- src/entrypoint/docker-entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entrypoint/docker-entrypoint.sh b/src/entrypoint/docker-entrypoint.sh index 1b6e61b..19aa401 100755 --- a/src/entrypoint/docker-entrypoint.sh +++ b/src/entrypoint/docker-entrypoint.sh @@ -324,11 +324,11 @@ phpConf() { } elabftwConf() { - mkdir -p /elabftw/uploads /elabftw/cache/elab /elabftw/cache/mpdf /elabftw/cache/twig /elabftw/cache/purifier/CSS /elabftw/cache/purifier/HTML /elabftw/cache/purifier/URI - chown -R "${elabftw_userid}":"${elabftw_groupid}" /elabftw/cache + mkdir -p /elabftw/uploads /elabftw/cache/elab /elabftw/cache/mpdf /elabftw/cache/twig /elabftw/cache/purifier/CSS /elabftw/cache/purifier/HTML /elabftw/cache/purifier/URI /elabftw/exports + chown -R "${elabftw_userid}":"${elabftw_groupid}" /elabftw/cache /elabftw/exports # no recursive flag for uploads chown "${elabftw_userid}":"${elabftw_groupid}" /elabftw/uploads - chmod 700 /elabftw/uploads /elabftw/cache + chmod 700 /elabftw/uploads /elabftw/cache /elabftw/exports } ldapConf() {