Please follow the below template, it will help us to help you!
Expected Behaviour:
Trying to add domain to blacklist as wildcard
Actual Behaviour:
Failure! Something went wrong.
Unable to add regex "(^|.)plufdsb.com$" to /etc/pihole/regex.list
Error message: file_put_contents(/etc/pihole/regex.list): failed to open stream: Permission denied
Debug Token:
none
ls -l /etc/pihole/regex.list
-rw-r--r-- 1 pihole pihole 10772 Nov 3 07:30 /etc/pihole/regex.list
Not sure why it does that now. Had the pi-hole running for like 1 year now whit no problems
Failure! Something went wrong.
Unable to add regex "(^|.)tagcommander.com$" to /etc/pihole/regex.list
Error message: file_put_contents(/etc/pihole/regex.list): failed to open stream: Permission denied
ls -l /etc/pihole/regex.list
-rw-r--r-- 1 pihole www-data 10772 Nov 3 07:30 /etc/pihole/regex.list
With a umask of 0022 then any file created will automatically be set to 644. We set the permissions on the file creation, but if you manually created the file or edited it then when it was created outside of our process it would have been set to 644 instead of 664. We need the group to have write permissions.