overleaf/server-ce/00_make_sharelatex_data_dirs.sh
2015-02-06 17:01:50 +00:00

21 lines
No EOL
708 B
Bash
Executable file

#!/bin/sh
mkdir -p /var/lib/sharelatex/data
chown sharelatex:sharelatex /var/lib/sharelatex/data
mkdir -p /var/lib/sharelatex/data/user_files
chown sharelatex:sharelatex /var/lib/sharelatex/data/user_files
mkdir -p /var/lib/sharelatex/data/compiles
chown sharelatex:sharelatex /var/lib/sharelatex/data/compiles
mkdir -p /var/lib/sharelatex/data/cache
chown sharelatex:sharelatex /var/lib/sharelatex/data/cache
mkdir -p /var/lib/sharelatex/tmp
chown sharelatex:sharelatex /var/lib/sharelatex/tmp
mkdir -p /var/lib/sharelatex/tmp/uploads
chown sharelatex:sharelatex /var/lib/sharelatex/tmp/uploads
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
chown sharelatex:sharelatex /var/lib/sharelatex/tmp/dumpFolder