From aee0ebe3886ecc0812778db8e5b272ed21813f5d Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Mon, 4 Nov 2024 12:35:33 +0100 Subject: [PATCH] Update for dedicated export path --- 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() {