simplified configuration

This commit is contained in:
Oliver Ladner 2014-01-10 10:38:55 +01:00
commit f7472d6163

View file

@ -1,7 +1,4 @@
#!/usr/bin/env bash
# Author: Oliver Ladner <oli@lugh.ch>
# License: LGPL
#
# Checks the webroot for files being owned by www daemon and
# writable at the same time. This is only needed by some files
# so we'll check with a whitelist.
@ -9,11 +6,11 @@
WWWROOT=/var/www/
WWWUSER=www-data
WHITELIST="(mpd.lugh.ch/music|\
WHITELIST="(
foo.example.org/cache|\
/wp-content/cache|\
/piwik/config/config.ini.php|\
sitemap.xml*
/cache/foo|\
blah/tmpfile.txt
sitemap.xml*|
)"
listcount=0
whitelist_matches=0