protect nextcloudpi-config files from reading. They can contain sensitive information

This commit is contained in:
nachoparker 2017-06-27 17:43:35 +02:00
parent 36b3f49d35
commit bb61bb7c0e

View File

@ -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