Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index b71272be..df5cdb38 100755
--- a/update.sh
+++ b/update.sh
@@ -42,7 +42,13 @@ for file in etc/nextcloudpi-config.d/*; do
done
# these files can contain sensitive information, such as passwords
-chmod 700 /usr/local/etc/nextcloudpi-config.d/*
+chown -R root:www-data /usr/local/etc/nextcloudpi-config.d
+chmod 660 /usr/local/etc/nextcloudpi-config.d/*
+
+# install web interface
+cp -r ncp-web /var/www/
+chown www-data:www-data /var/www/ncp-web
+chmod 770 /var/www/ncp-web
# License
#