Skip to content

Commit

Permalink
protect nextcloudpi-config files from reading. They can contain sensi…
Browse files Browse the repository at this point in the history
…tive information
  • Loading branch information
nachoparker committed Jun 28, 2017
1 parent 36b3f49 commit bb61bb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb61bb7

Please sign in to comment.