From bb61bb7c0e0f33b96c699dccf35b6b6e52e2ac31 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Tue, 27 Jun 2017 17:43:35 +0200 Subject: protect nextcloudpi-config files from reading. They can contain sensitive information --- update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.sh b/update.sh index d6b6d76e..b71272be 100755 --- a/update.sh +++ b/update.sh @@ -41,6 +41,9 @@ for file in etc/nextcloudpi-config.d/*; do cp $file /usr/local/$file done +# these files can contain sensitive information, such as passwords +chmod 700 /usr/local/etc/nextcloudpi-config.d/* + # License # # This script is free software; you can redistribute it and/or modify it -- cgit v1.2.3