mirror of
https://github.com/pi-hole/pi-hole
synced 2025-03-16 01:06:04 +00:00
Set regex file permissions for web access
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
parent
2809579dd7
commit
55175087c4
@ -644,6 +644,11 @@ if [[ "${skipDownload}" == false ]] || [[ "${listType}" == "whitelist" ]]; then
|
|||||||
gravity_Whitelist
|
gravity_Whitelist
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set proper permissions on the regex file
|
||||||
|
touch "${regexFile}"
|
||||||
|
chown pihole:www-data "${regexFile}"
|
||||||
|
chmod 664 "${regexFile}"
|
||||||
|
|
||||||
convert_wildcard_to_regex
|
convert_wildcard_to_regex
|
||||||
gravity_ShowBlockCount
|
gravity_ShowBlockCount
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user