Skip to content

Commit

Permalink
feat: exports: update for dedicated export path (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Athemis authored Nov 4, 2024
1 parent d075727 commit beed8f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/entrypoint/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit beed8f4

Please sign in to comment.