simplified configuration
This commit is contained in:
parent
128951e5a7
commit
f7472d6163
1 changed files with 5 additions and 8 deletions
11
www-perms.sh
11
www-perms.sh
|
|
@ -1,7 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Author: Oliver Ladner <oli@lugh.ch>
|
|
||||||
# License: LGPL
|
|
||||||
#
|
|
||||||
# Checks the webroot for files being owned by www daemon and
|
# Checks the webroot for files being owned by www daemon and
|
||||||
# writable at the same time. This is only needed by some files
|
# writable at the same time. This is only needed by some files
|
||||||
# so we'll check with a whitelist.
|
# so we'll check with a whitelist.
|
||||||
|
|
@ -9,11 +6,11 @@
|
||||||
|
|
||||||
WWWROOT=/var/www/
|
WWWROOT=/var/www/
|
||||||
WWWUSER=www-data
|
WWWUSER=www-data
|
||||||
WHITELIST="(mpd.lugh.ch/music|\
|
WHITELIST="(
|
||||||
foo.example.org/cache|\
|
foo.example.org/cache|\
|
||||||
/wp-content/cache|\
|
/cache/foo|\
|
||||||
/piwik/config/config.ini.php|\
|
blah/tmpfile.txt
|
||||||
sitemap.xml*
|
sitemap.xml*|
|
||||||
)"
|
)"
|
||||||
listcount=0
|
listcount=0
|
||||||
whitelist_matches=0
|
whitelist_matches=0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue