overleaf/server-ce/init_scripts/100_make_overleaf_data_dirs.sh
Jakob Ackermann 2e6e24335c Merge pull request #17239 from overleaf/jpa-sl-cleanup
[misc] remove ShareLaTeX branding from remaining file paths

GitOrigin-RevId: cd47c693ee18a1b5b1c821f2dc5f1be53ae96cc0
2024-02-22 09:04:29 +00:00

38 lines
1.1 KiB
Bash
Executable file

#!/bin/sh
set -e
mkdir -p /var/lib/overleaf/data
chown www-data:www-data /var/lib/overleaf/data
mkdir -p /var/lib/overleaf/data/user_files
chown www-data:www-data /var/lib/overleaf/data/user_files
mkdir -p /var/lib/overleaf/data/compiles
chown www-data:www-data /var/lib/overleaf/data/compiles
mkdir -p /var/lib/overleaf/data/output
chown www-data:www-data /var/lib/overleaf/data/output
mkdir -p /var/lib/overleaf/data/cache
chown www-data:www-data /var/lib/overleaf/data/cache
mkdir -p /var/lib/overleaf/data/template_files
chown www-data:www-data /var/lib/overleaf/data/template_files
mkdir -p /var/lib/overleaf/data/history
chown www-data:www-data /var/lib/overleaf/data/history
mkdir -p /var/lib/overleaf/tmp/projectHistories
chown www-data:www-data /var/lib/overleaf/tmp/projectHistories
mkdir -p /var/lib/overleaf/tmp/dumpFolder
chown www-data:www-data /var/lib/overleaf/tmp/dumpFolder
mkdir -p /var/lib/overleaf/tmp
chown www-data:www-data /var/lib/overleaf/tmp
mkdir -p /var/lib/overleaf/tmp/uploads
chown www-data:www-data /var/lib/overleaf/tmp/uploads
mkdir -p /var/lib/overleaf/tmp/dumpFolder
chown www-data:www-data /var/lib/overleaf/tmp/dumpFolder