chown /var/www/ to www-data

This commit is contained in:
Henry Oswald 2016-12-19 14:17:39 +00:00 committed by GitHub
parent 17d2d4561d
commit eadfb316b4

View file

@ -26,6 +26,8 @@ chown www-data:www-data /var/lib/sharelatex/tmp/uploads
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder
chown www-data:www-data /var/www/
if [ ! -e "/var/lib/sharelatex/data/db.sqlite" ]; then
touch /var/lib/sharelatex/data/db.sqlite
fi