Skip to content

Commit

Permalink
Merge branch 'hypernext' of github.com:elabftw/elabimg into hypernext
Browse files Browse the repository at this point in the history
* 'hypernext' of github.com:elabftw/elabimg:
  feat: exports: update for dedicated export path (#43)
  • Loading branch information
NicolasCARPi committed Nov 11, 2024
2 parents 70c83bd + beed8f4 commit 1cf7d20
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 1cf7d20

Please sign in to comment.