This commit is contained in:
Joel Kåberg
2014-10-24 15:13:53 +00:00
3 changed files with 17 additions and 3 deletions
+3 -2
View File
@@ -94,9 +94,10 @@ EOF
?>
EOF
# Create user data directory and set permissions
# Create user data directory, log directory and set permissions
mkdir -p $STORAGE_ROOT/owncloud
chown -R www-data.www-data $STORAGE_ROOT/owncloud /usr/local/lib/owncloud
mkdir -p /var/log/owncloud
chown -R www-data.www-data $STORAGE_ROOT/owncloud /usr/local/lib/owncloud /var/log/owncloud
# Execute ownCloud's setup step, which creates the ownCloud sqlite database.
# It also wipes it if it exists. And it deletes the autoconfig.php file.